commit 3faceadffe9c9b334d22cad3a348b82078b542b5
parent cf5f5eaf8c67c9d06c491a82b0b235aa27bbfe5c
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date: Sun, 22 Jul 2018 21:50:35 +1000
Fix focus bug with floating containers
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);
}