• Zhiyi Zhang's avatar
    winex11.drv: Update _NET_WM_STATE before resizing windows. · c69bb034
    Zhiyi Zhang authored
    According to the Extended Window Manager Hints (EWMH) spec 1.3 regarding
    _NET_WM_STATE_FULLSCREEN, "the Window Manager is responsible for
    restoring the original geometry after a switch from fullscreen back to
    normal window.", which means that removing _NET_WM_STATE_FULLSCREEN from
    a window may cause the window to receive a ConfigureNotify event to
    restore the window size, thus causing a application resize action to be
    overwritten by the window managers.
    
    Fix a game called Mugsters becomes maximized after exiting full screen.
    Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    c69bb034
win.c 486 KB