aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/input/seat.c4
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,
}
}
+ if (container->type == C_VIEW) {
+ ipc_event_window(container, "focus");
+ }
+
seat->has_focus = (container != NULL);
update_debug_tree();