mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
foreign-toplevel: refresh the bar when a top-level is closed
Fixes an issue where the last active window is still being displayed in the bar after the corresponding top-level has been closed. Reported here: https://github.com/johanmalm/labwc/issues/73#issuecomment-945007028
This commit is contained in:
parent
9fe8ef2574
commit
515b36da0d
2 changed files with 4 additions and 0 deletions
|
@ -372,6 +372,9 @@ closed(void *data, struct zwlr_foreign_toplevel_handle_v1 *handle)
|
|||
}
|
||||
}
|
||||
mtx_unlock(&mod->lock);
|
||||
|
||||
const struct bar *bar = mod->bar;
|
||||
bar->refresh(bar);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue