diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-19 18:55:17 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-19 18:55:17 -0500 |
commit | 5728307520fe80b34067cf4d312409548d4a0a10 (patch) | |
tree | 4698561d5912c59930fe7f13519437bc02a8a2ad /wayland/window.c | |
parent | Parse output background config (diff) | |
download | sway-5728307520fe80b34067cf4d312409548d4a0a10.tar.gz sway-5728307520fe80b34067cf4d312409548d4a0a10.tar.zst sway-5728307520fe80b34067cf4d312409548d4a0a10.zip |
Add wallpapers to output command
Diffstat (limited to 'wayland/window.c')
-rw-r--r-- | wayland/window.c | 2 |
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 | ||
18 | static void pointer_handle_enter(void *data, struct wl_pointer *pointer, | 18 | static 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 | ||