diff options
-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 | ||