• Ziqing Hui's avatar
    winex11.drv: Correct a full screen condition. · 57b1b21a
    Ziqing Hui authored
    The if condition here came from 47c54c4a,
    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: 's avatarZiqing Hui <zhui@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    57b1b21a
event.c 56.8 KB