mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 19:18:42 +00:00
16984895f0
If the current thread isn't the foreground thread. Otherwise we may clip the cursor in the wrong thread, that isn't expecting mouse messages or may not be checking its messages. Red Faction has some race condition where this can happen for instance, with clip_fullscreen_window called from X11DRV_DisplayDevices_Update callback in a background thread. This thread starts clipping the cursor, and the foreground thread isn't receiving MotionNotify events anymore. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> |
||
---|---|---|
.. | ||
bitblt.c | ||
brush.c | ||
clipboard.c | ||
desktop.c | ||
display.c | ||
event.c | ||
graphics.c | ||
ime.c | ||
init.c | ||
keyboard.c | ||
Makefile.in | ||
mouse.c | ||
mwm.h | ||
opengl.c | ||
palette.c | ||
pen.c | ||
settings.c | ||
systray.c | ||
version.rc | ||
vulkan.c | ||
window.c | ||
winex11.drv.spec | ||
wintab.c | ||
x11drv.h | ||
x11drv_main.c | ||
xcomposite.h | ||
xdnd.c | ||
xim.c | ||
xinerama.c | ||
xrandr.c | ||
xrender.c | ||
xvidmode.c |