summaryrefslogtreecommitdiffstats
path: root/wayland/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'wayland/window.c')
-rw-r--r--wayland/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wayland/window.c b/wayland/window.c
index af50c04c..13d4c7b2 100644
--- a/wayland/window.c
+++ b/wayland/window.c
@@ -17,7 +17,6 @@
17 17
18static void pointer_handle_enter(void *data, struct wl_pointer *pointer, 18static void pointer_handle_enter(void *data, struct wl_pointer *pointer,
19 uint32_t serial, struct wl_surface *surface, wl_fixed_t sx_w, wl_fixed_t sy_w) { 19 uint32_t serial, struct wl_surface *surface, wl_fixed_t sx_w, wl_fixed_t sy_w) {
20 sway_log(L_INFO, "Set cursor");
21 struct window *window = data; 20 struct window *window = data;
22 struct wl_cursor_image *image = window->cursor.cursor->images[0]; 21 struct wl_cursor_image *image = window->cursor.cursor->images[0];
23 wl_pointer_set_cursor(pointer, serial, window->cursor.surface, image->hotspot_x, image->hotspot_y); 22 wl_pointer_set_cursor(pointer, serial, window->cursor.surface, image->hotspot_x, image->hotspot_y);
@@ -72,7 +71,6 @@ struct window *window_setup(struct registry *registry, uint32_t width, uint32_t
72 wl_shell_surface_set_toplevel(window->shell_surface); 71 wl_shell_surface_set_toplevel(window->shell_surface);
73 } 72 }
74 if (registry->pointer) { 73 if (registry->pointer) {
75 sway_log(L_INFO, "Register pointer");
76 wl_pointer_add_listener(registry->pointer, &pointer_listener, window); 74 wl_pointer_add_listener(registry->pointer, &pointer_listener, window);
77 } 75 }
78 76