[PATCH 5/5] winex11: Don't send SC_RESTORE when a maximized window switches to fullscreen.

Dmitry Timoshkov dmitry at baikal.ru
Thu Oct 4 07:23:27 CDT 2012


Henri Verbeet <hverbeet at codeweavers.com> wrote:

> -        if (style & WS_MAXIMIZE)
> +        if ((style & WS_MAXIMIZE) && (style & WS_CAPTION) == WS_CAPTION)

Probably you should test for WS_MAXIMIZEBOX instead.

-- 
Dmitry.



More information about the wine-devel mailing list