mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Handle output removal on swaybar
This commit is contained in:
parent
842a3ea45c
commit
f242362e7e
7 changed files with 45 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue