summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-18 16:28:24 -0500
committerLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-18 16:28:24 -0500
commit5b6e48987204c0d2298dda2d9b30b4208abdd8d5 (patch)
tree84ff3c83c7c86edde55c4fb2941d6208eeda0c16
parentPatched for wlc updates (diff)
downloadsway-5b6e48987204c0d2298dda2d9b30b4208abdd8d5.tar.gz
sway-5b6e48987204c0d2298dda2d9b30b4208abdd8d5.tar.zst
sway-5b6e48987204c0d2298dda2d9b30b4208abdd8d5.zip
More patches for wlc compat
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 534b4e4f..1fe2dc27 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -427,7 +427,7 @@ static bool handle_pointer_motion(wlc_handle handle, uint32_t time, const struct
427} 427}
428 428
429static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct wlc_modifiers *modifiers, 429static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct wlc_modifiers *modifiers,
430 uint32_t button, enum wlc_button_state state) { 430 uint32_t button, enum wlc_button_state state, const struct wlc_origin *origin) {
431 swayc_t *focused = get_focused_container(&root_container); 431 swayc_t *focused = get_focused_container(&root_container);
432 //dont change focus if fullscreen 432 //dont change focus if fullscreen
433 if (focused->type == C_VIEW && wlc_view_get_state(focused->handle) & WLC_BIT_FULLSCREEN) { 433 if (focused->type == C_VIEW && wlc_view_get_state(focused->handle) & WLC_BIT_FULLSCREEN) {