• Zhiyi Zhang's avatar
    ddraw: Restore WS_EX_TOPMOST in exclusive fullscreen mode if it got removed. · 9092a4cc
    Zhiyi Zhang authored
    Tests show that there is a ~1.5s timer that checks for the presence of WS_EX_TOPMOST and restore it
    if it got removed when the timer times out. Manual tests that skip WM_TIMER handling show there is a
    1.5s timer of ID 0x4242 keeps firing. The timer stops when its WM_TIMER message gets handled.
    
    Fix Deus Ex: Game of the Year Edition missing WS_EX_TOPMOST after changing resolutions in fullscreen
    mode. The application removes WS_EX_TOPMOST from its game window after entering fullscreen.
    9092a4cc
ddraw4.c 852 KB