diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-28 12:31:41 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-28 12:31:41 -0700 |
commit | da2d992563424d629b7813d9490420060ec271b6 (patch) | |
tree | 2b8ea9d1f1b0546bb0263fe410fe0092d56c7d08 | |
parent | fix issue #140, dont set pointer mode if no floating_mod (diff) | |
download | sway-da2d992563424d629b7813d9490420060ec271b6.tar.gz sway-da2d992563424d629b7813d9490420060ec271b6.tar.zst sway-da2d992563424d629b7813d9490420060ec271b6.zip |
style
-rw-r--r-- | sway/handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 69846e45..8b127d35 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -431,7 +431,7 @@ static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct w | |||
431 | } | 431 | } |
432 | 432 | ||
433 | // set pointer mode only if floating mod has been set | 433 | // set pointer mode only if floating mod has been set |
434 | if(config->floating_mod) { | 434 | if (config->floating_mod) { |
435 | pointer_mode_set(button, !(modifiers->mods ^ config->floating_mod)); | 435 | pointer_mode_set(button, !(modifiers->mods ^ config->floating_mod)); |
436 | } | 436 | } |
437 | 437 | ||