winex11: Don't set NET_WM_STATE on the desktop window.

This commit is contained in:
Alexandre Julliard 2008-04-07 17:34:47 +02:00
parent 2ae8e87616
commit 334e88bc02

View File

@ -179,6 +179,7 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data
DWORD i, style, ex_style, new_state = 0;
if (!data->managed) return;
if (data->whole_window == root_window) return;
style = GetWindowLongW( data->hwnd, GWL_STYLE );
if (data->whole_rect.left <= 0 && data->whole_rect.right >= screen_width &&