diff options
author | 2015-11-14 17:14:23 -0500 | |
---|---|---|
committer | 2015-11-14 17:14:23 -0500 | |
commit | cd161aa98532a29129547cf05b778a6dfe915821 (patch) | |
tree | 2df9dac8d8dd50246646cbe2cee3ca143c01f080 /sway/handlers.c | |
parent | We wlc_point now (diff) | |
download | sway-cd161aa98532a29129547cf05b778a6dfe915821.tar.gz sway-cd161aa98532a29129547cf05b778a6dfe915821.tar.zst sway-cd161aa98532a29129547cf05b778a6dfe915821.zip |
We somewhat more wlc_point now
Apparently I missed some
cc @Cloudef
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 510b4261..cadfce5c 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -295,8 +295,8 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier | |||
295 | return EVENT_PASSTHROUGH; | 295 | return EVENT_PASSTHROUGH; |
296 | } | 296 | } |
297 | 297 | ||
298 | static bool handle_pointer_motion(wlc_handle handle, uint32_t time, const struct wlc_origin *origin) { | 298 | static bool handle_pointer_motion(wlc_handle handle, uint32_t time, const struct wlc_point *origin) { |
299 | struct wlc_origin new_origin = *origin; | 299 | struct wlc_point new_origin = *origin; |
300 | // Switch to adjacent output if touching output edge. | 300 | // Switch to adjacent output if touching output edge. |
301 | // | 301 | // |
302 | // Since this doesn't currently support moving windows between outputs we | 302 | // Since this doesn't currently support moving windows between outputs we |
@@ -338,7 +338,7 @@ static bool handle_pointer_motion(wlc_handle handle, uint32_t time, const struct | |||
338 | 338 | ||
339 | 339 | ||
340 | static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct wlc_modifiers *modifiers, | 340 | static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct wlc_modifiers *modifiers, |
341 | uint32_t button, enum wlc_button_state state, const struct wlc_origin *origin) { | 341 | uint32_t button, enum wlc_button_state state, const struct wlc_point *origin) { |
342 | 342 | ||
343 | // Update view pointer is on | 343 | // Update view pointer is on |
344 | pointer_state.view = container_under_pointer(); | 344 | pointer_state.view = container_under_pointer(); |