• 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
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Make.vars.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...