Remove systray icons from the save set

This commits makes awesome remove systray windows from the save set when they
are unmapped. This happens for the same reason as with normal client windows.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-07-25 09:26:27 +02:00
parent db958cafb4
commit cc33cd17a0
1 changed files with 1 additions and 0 deletions

View File

@ -728,6 +728,7 @@ event_handle_unmapnotify(void *data __attribute__ ((unused)),
{ {
xembed_window_array_take(&globalconf.embedded, i); xembed_window_array_take(&globalconf.embedded, i);
widget_invalidate_bytype(widget_systray); widget_invalidate_bytype(widget_systray);
xcb_change_save_set(globalconf.connection, XCB_SET_MODE_DELETE, ev->window);
} }
return 0; return 0;