Alexandre Julliard : winex11: Don' t put window manager decorations on layered windows.

Alexandre Julliard julliard at winehq.org
Tue Oct 2 14:09:39 CDT 2012


Module: wine
Branch: master
Commit: a81c23a450f9638dd512e43709b74c322ac5b510
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a81c23a450f9638dd512e43709b74c322ac5b510

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Oct  2 13:51:56 2012 +0200

winex11: Don't put window manager decorations on layered windows.

---

 dlls/winex11.drv/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 45c3a36..344fe44 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -261,6 +261,7 @@ static unsigned long get_mwm_decorations( struct x11drv_win_data *data,
     if (data->shaped) return 0;
 
     if (ex_style & WS_EX_TOOLWINDOW) return 0;
+    if (ex_style & WS_EX_LAYERED) return 0;
 
     if ((style & WS_CAPTION) == WS_CAPTION)
     {




More information about the wine-cvs mailing list