• Akihiro Sagawa's avatar
    winex11: Return more reliable value from X11DRV_MsgWaitForMultipleObjects. · ce7a98e9
    Akihiro Sagawa authored
    After processing several X events, X11DRV_MsgWaitForMultipleObjects always
    tells us that a new message is available. This is not true for some cases.
    
    For instance, when we call DestroyWindow, the X queues DestroyEvent. Then,
    X11DRV_MsgWaitForMultipleObjects handles the event only; none is posted or
    sent as hwnd for destroyed window is unavailable. However, the function
    states "new message is available" by returning count - 1 value.
    
    This is an issue for CoWaitForMultipleHandles because it expects a new
    message in the queue and consumes the message.
    Signed-off-by: 's avatarAkihiro Sagawa <sagawa.aki@gmail.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    ce7a98e9
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...
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...
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...