Vincent Povirk : winex11: Leave fullscreen state alone when minimizing.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jul 11 13:37:32 CDT 2014
Module: wine
Branch: master
Commit: 5e5a9d6f937c69b1546a922205ba8daa40ebb1c0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5e5a9d6f937c69b1546a922205ba8daa40ebb1c0
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Thu Jul 10 15:29:29 2014 -0500
winex11: Leave fullscreen state alone when minimizing.
---
dlls/winex11.drv/window.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 77cf304..06e2294 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -974,6 +974,8 @@ void update_net_wm_states( struct x11drv_win_data *data )
if (data->whole_window == root_window) return;
style = GetWindowLongW( data->hwnd, GWL_STYLE );
+ if (style & WS_MINIMIZE)
+ new_state |= data->net_wm_state & (1 << NET_WM_STATE_FULLSCREEN);
if (is_window_rect_fullscreen( &data->whole_rect ))
{
if ((style & WS_MAXIMIZE) && (style & WS_CAPTION) == WS_CAPTION)
More information about the wine-cvs
mailing list