winex11.drv: Don't change net_wm maximized state for minimized windows.
commitce409c01d51c20386edab73c31930ceaa82c9e83
authorVincent Povirk <vincent@codeweavers.com>
Fri, 17 Jul 2015 20:48:24 +0000 (17 15:48 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 20 Jul 2015 04:30:48 +0000 (20 06:30 +0200)
tree46d705d746089b5299156dc2a3fa6bb3086fdad0
parent91a23ce364faf6dcdc2b29320c7c156e1622465e
winex11.drv: Don't change net_wm maximized state for minimized windows.

In Win32, minimized windows are generally not considered maximized,
but restoring a minimized window that had been maximized returns it to
the maximized state.

In X11, at least with some window managers (I tested metacity and
gnome shell), the maximized state is meaningful for minimized windows.
If we remove the net_wm maximized state from windows we minimize, they
will still be unmaximized when the WM restores them.
dlls/winex11.drv/window.c