[PATCH 5/5] winex11: Don't send SC_RESTORE when a maximized window switches to fullscreen.
Henri Verbeet
hverbeet at codeweavers.com
Thu Oct 4 06:53:29 CDT 2012
---
dlls/winex11.drv/event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index 9eedbc5..fb254bc 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -1077,7 +1077,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
}
else
{
- if (style & WS_MAXIMIZE)
+ if ((style & WS_MAXIMIZE) && (style & WS_CAPTION) == WS_CAPTION)
{
TRACE( "window %p/%lx is no longer maximized\n", data->hwnd, data->whole_window );
release_win_data( data );
--
1.7.8.6
More information about the wine-patches
mailing list