winex11: Don't set NET_WM_STATE on the desktop window.
authorAlexandre Julliard <julliard@winehq.org>
Mon, 7 Apr 2008 15:34:47 +0000 (17:34 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Apr 2008 15:34:47 +0000 (17:34 +0200)
dlls/winex11.drv/winpos.c

index 0ef46013ce0e4b087c9ceef12e85b440ee32916a..065c5013c566088ca0116c337ae4aaca3e044fa0 100644 (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 &&