Alexandre Julliard : winex11: Don't set NET_WM_STATE on the desktop window.
Alexandre Julliard
julliard at winehq.org
Mon Apr 7 14:46:48 CDT 2008
Module: wine
Branch: master
Commit: 334e88bc02305362c473ad362521f7801cdb86e4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=334e88bc02305362c473ad362521f7801cdb86e4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Apr 7 17:34:47 2008 +0200
winex11: Don't set NET_WM_STATE on the desktop window.
---
dlls/winex11.drv/winpos.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c
index 0ef4601..065c501 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -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 &&
More information about the wine-cvs
mailing list