aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/input_device.c
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-11-11 11:48:45 +1300
committerScott Anderson <scott@anderso.nz>2018-11-13 10:39:24 +1300
commit51a283cbe4a77d11853f7779eb1aa452557846d3 (patch)
tree534bab245c9a781d1a9b12633ac7e9e570af9171 /backend/x11/input_device.c
parent4aff85cc8e6f90e60522a7a830424e41a6f06b77 (diff)
backend/x11: Rename xcb_conn to xcb
When the Xlib connection is removed, this _conn suffix is going to be pointless. I'm removing this preemtively for that.
Diffstat (limited to 'backend/x11/input_device.c')
-rw-r--r--backend/x11/input_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c
index 5b108ffb..b64151e0 100644
--- a/backend/x11/input_device.c
+++ b/backend/x11/input_device.c
@@ -166,9 +166,9 @@ void update_x11_pointer_position(struct wlr_x11_output *output,
struct wlr_x11_backend *x11 = output->x11;
xcb_query_pointer_cookie_t cookie =
- xcb_query_pointer(x11->xcb_conn, output->win);
+ xcb_query_pointer(x11->xcb, output->win);
xcb_query_pointer_reply_t *reply =
- xcb_query_pointer_reply(x11->xcb_conn, cookie, NULL);
+ xcb_query_pointer_reply(x11->xcb, cookie, NULL);
if (!reply) {
return;
}