aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 4b6aaedd..351d0a0f 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -357,7 +357,7 @@ static bool handle_pointer_motion(wlc_handle handle, uint32_t time, const struct
//
// Since this doesn't currently support moving windows between outputs we
// don't do the switch if the pointer is in a mode.
- if (!pointer_state.mode) {
+ if (config->seamless_mouse && !pointer_state.mode) {
swayc_t *output = swayc_active_output();
// TODO: This implementation is naïve: We assume all outputs are