• 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
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...
MAINTAINERS 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...