mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
ipc: add window::focus event
This commit is contained in:
parent
f0310933c8
commit
dd1d6255f0
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
seat->has_focus = (container != NULL);
|
||||||
|
|
||||||
update_debug_tree();
|
update_debug_tree();
|
||||||
|
|
Loading…
Reference in a new issue