Handle output removal on swaybar

This commit is contained in:
Drew DeVault 2018-04-05 15:39:57 -04:00
parent 842a3ea45c
commit f242362e7e
7 changed files with 45 additions and 9 deletions

View file

@ -64,7 +64,9 @@ static void container_close_notify(struct sway_container *container) {
return;
}
// TODO send ipc event type based on the container type
ipc_event_window(container, "close");
if (container->type == C_VIEW || container->type == C_WORKSPACE) {
ipc_event_window(container, "close");
}
}
struct sway_container *container_create(enum sway_container_type type) {