• Ken Thomases's avatar
    winemac: More thoroughly discard events which have been obsoleted by subsequent… · 4f9de6bc
    Ken Thomases authored
    winemac: More thoroughly discard events which have been obsoleted by subsequent Wine- or program-driven changes.
    
    Among other things, this fixes Syberia 2.  That game shows, hides, and then
    shows its window.  Hiding it caused a WINDOW_LOST_FOCUS event to be queued.
    By the time it was processed, the window was the foreground window again.
    In response to being told it had lost focus, the game minimized its window.
    
    Hiding the window should have prevented or discarded the WINDOW_LOST_FOCUS
    event since the change was driven from Wine and the Win32 foreground/active
    window state would already be correct.  In addition, when the program
    re-showed its window and made it foreground, that should have discarded the
    event as being out of date.  Now they do.
    4f9de6bc
Name
Last commit
Last update
..
.gitattributes Loading commit data...
Makefile.in Loading commit data...
clipboard.c Loading commit data...
cocoa_app.h Loading commit data...
cocoa_app.m Loading commit data...
cocoa_clipboard.m Loading commit data...
cocoa_display.m Loading commit data...
cocoa_event.h Loading commit data...
cocoa_event.m Loading commit data...
cocoa_main.m Loading commit data...
cocoa_opengl.h Loading commit data...
cocoa_opengl.m Loading commit data...
cocoa_status_item.m Loading commit data...
cocoa_window.h Loading commit data...
cocoa_window.m Loading commit data...
display.c Loading commit data...
dragdrop.c Loading commit data...
event.c Loading commit data...
gdi.c Loading commit data...
image.c Loading commit data...
ime.c Loading commit data...
keyboard.c Loading commit data...
macdrv.h Loading commit data...
macdrv_cocoa.h Loading commit data...
macdrv_main.c Loading commit data...
mouse.c Loading commit data...
opengl.c Loading commit data...
surface.c Loading commit data...
systray.c Loading commit data...
window.c Loading commit data...
winemac.drv.spec Loading commit data...