mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
ipc: add window::focus event
This commit is contained in:
parent
f0310933c8
commit
dd1d6255f0
|
@ -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