summaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 7b82fd03..75adf7dd 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -316,6 +316,9 @@ static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifier
316 } 316 }
317 bool cmd_success = false; 317 bool cmd_success = false;
318 318
319 sway_log(L_DEBUG, "modifier %x: state %d: key %d, sym: %d",
320 modifiers->mods, state, key, sym);
321
319 if ((modifiers->mods & config->floating_mod) && (dragging || resizing)) { 322 if ((modifiers->mods & config->floating_mod) && (dragging || resizing)) {
320 reset_floating(get_focused_view(&root_container)); 323 reset_floating(get_focused_view(&root_container));
321 } 324 }