aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-19 13:02:29 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-19 13:02:29 -0700
commit48a983316c01d9ccd9fdd7aab56ee4e779654915 (patch)
tree326341b615dcdd6c2c4502399331be0538b4318f /sway/handlers.c
parentc29214f348cef5951eeece3b60383993eaaca305 (diff)
floating mode_toggle
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
}
bool cmd_success = false;
+ sway_log(L_DEBUG, "modifier %x: state %d: key %d, sym: %d",
+ modifiers->mods, state, key, sym);
+
if ((modifiers->mods & config->floating_mod) && (dragging || resizing)) {
reset_floating(get_focused_view(&root_container));
}