aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-22 21:50:35 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-22 23:10:19 +1000
commit3faceadffe9c9b334d22cad3a348b82078b542b5 (patch)
tree6574dbcb2c39a9d3fb1306257bcf75d20a7cc788
parentcf5f5eaf8c67c9d06c491a82b0b235aa27bbfe5c (diff)
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,
}
// Send event to surface
+ seat_set_focus(seat, cont);
seat_pointer_notify_button(seat, time_msec, button, state);
}