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 afdc14c931
commit 837958447a
1 changed files with 0 additions and 1 deletions

View File

@ -164,7 +164,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, xcb_change_window_attributes(globalconf.connection, embed_win, XCB_CW_EVENT_MASK,
select_input_val); 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 /* we grab the window, but also make sure it's automatically reparented back
* to the root window if we should die. * to the root window if we should die.