mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
ipc: add workspace::init event
This commit is contained in:
parent
e8b179e313
commit
87ccf18964
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ void container_create_notify(struct sway_container *container) {
|
|||
|
||||
if (container->type == C_VIEW || container->type == C_CONTAINER) {
|
||||
ipc_event_window(container, "new");
|
||||
} else if (container->type == C_WORKSPACE) {
|
||||
ipc_event_workspace(NULL, container, "init");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue