wibox: kick systray on detach

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-17 13:54:57 +01:00
parent 5cc82a4af5
commit a329da144d
1 changed files with 1 additions and 0 deletions

View File

@ -554,6 +554,7 @@ wibox_detach(wibox_t *wibox)
/* save visible state */
v = wibox->isvisible;
wibox->isvisible = false;
wibox_systray_refresh(wibox);
wibox_position_update(wibox);
/* restore position */
wibox->isvisible = v;