systray: Don't set WM_STATE on embedded windows (FS#1246)

Apparently there is no spec which requires doing this and other systray
implementations do not do this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2014-03-31 17:39:59 +02:00
parent 14c4dcc969
commit 9f5ee6b864

View file

@ -161,7 +161,6 @@ systray_request_handle(xcb_window_t embed_win, xembed_info_t *info)
xcb_change_window_attributes(globalconf.connection, embed_win, XCB_CW_EVENT_MASK,
select_input_val);
xwindow_set_state(embed_win, XCB_ICCCM_WM_STATE_WITHDRAWN);
/* we grab the window, but also make sure it's automatically reparented back
* to the root window if we should die.