aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-22 21:50:35 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-22 23:10:19 +1000
commit3faceadffe9c9b334d22cad3a348b82078b542b5 (patch)
tree6574dbcb2c39a9d3fb1306257bcf75d20a7cc788
parentDeny move/resize events for tiled xdg shell views (diff)
downloadsway-3faceadffe9c9b334d22cad3a348b82078b542b5.tar.gz
sway-3faceadffe9c9b334d22cad3a348b82078b542b5.tar.zst
sway-3faceadffe9c9b334d22cad3a348b82078b542b5.zip
Fix focus bug with floating containers
-rw-r--r--sway/input/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 7deb2b19..54cd3bf7 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -465,6 +465,7 @@ static void dispatch_cursor_button_floating(struct sway_cursor *cursor,
465 } 465 }
466 466
467 // Send event to surface 467 // Send event to surface
468 seat_set_focus(seat, cont);
468 seat_pointer_notify_button(seat, time_msec, button, state); 469 seat_pointer_notify_button(seat, time_msec, button, state);
469} 470}
470 471