• Zebediah Figura's avatar
    winex11: Update the state of all keys on KeymapNotify. · 1bc9c4fd
    Zebediah Figura authored
    The Binding of Isaac transitions in and out of fullscreen when the "F" key is
    pressed. Specifically, it will swap states when receiving WM_KEYDOWN,
    provided that the previous key state was not pressed (i.e. bit 30 is 0).
    However, as part of the process of transitioning, it hides and shows its
    window, causing it to temporarily lose focus. If the F key is released while
    the window does not have focus, Wine misses this fact, and thinks that the
    key was already pressed the next time it is pressed, causing the game to
    refuse to change focus. Windows will not deliver WM_KEYUP messages to a
    window that does not have focus, but it will always report the true previous
    state of any key on the keyboard when requested.
    Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    1bc9c4fd
Name
Last commit
Last update
..
Makefile.in Loading commit data...
bitblt.c Loading commit data...
brush.c Loading commit data...
clipboard.c Loading commit data...
desktop.c Loading commit data...
display.c Loading commit data...
event.c Loading commit data...
graphics.c Loading commit data...
ime.c Loading commit data...
init.c Loading commit data...
keyboard.c Loading commit data...
mouse.c Loading commit data...
mwm.h Loading commit data...
opengl.c Loading commit data...
palette.c Loading commit data...
pen.c Loading commit data...
settings.c Loading commit data...
systray.c Loading commit data...
version.rc Loading commit data...
vulkan.c Loading commit data...
window.c Loading commit data...
winex11.drv.spec Loading commit data...
wintab.c Loading commit data...
x11drv.h Loading commit data...
x11drv_main.c Loading commit data...
xcomposite.h Loading commit data...
xdnd.c Loading commit data...
xim.c Loading commit data...
xinerama.c Loading commit data...
xrandr.c Loading commit data...
xrender.c Loading commit data...
xvidmode.c Loading commit data...