[PATCH v3 2/2] winex11.drv: Correct a full screen condition.
Ziqing Hui
zhui at codeweavers.com
Thu Apr 22 22:31:50 CDT 2021
The if condition here came from 47c54c4ae7f235780a55ddf670503db4afc11055,
which is to detect full screen window.
However, according to tests in previous commit, there is possibility
that a window without setting WS_CAPTION is not full screen, for example,
main window of Tencent WeChat. And windows like this can also be maximized
or restored. So that we can not treat WS_CAPTION as our full screen condition.
This fixes maximizing Tencent WeChat by dragging it to screen edge.
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
v2: Change commit message.
v3: Fix a typo in title (conditon -> condition).
dlls/winex11.drv/event.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-winex11.drv-Correct-a-full-screen-condition.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210423/d0e0043a/attachment.bin>
More information about the wine-devel
mailing list