diff options
-rw-r--r-- | sway/input/seat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index a4a449e4..c85e9242 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -766,6 +766,10 @@ void seat_set_focus_warp(struct sway_seat *seat, | |||
766 | } | 766 | } |
767 | } | 767 | } |
768 | 768 | ||
769 | if (container->type == C_VIEW) { | ||
770 | ipc_event_window(container, "focus"); | ||
771 | } | ||
772 | |||
769 | seat->has_focus = (container != NULL); | 773 | seat->has_focus = (container != NULL); |
770 | 774 | ||
771 | update_debug_tree(); | 775 | update_debug_tree(); |