Sweden-Number/dlls/winex11.drv
Rémi Bernon 16984895f0 winex11.drv: Forward clip_fullscreen_window to foreground thread.
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>
2020-10-05 22:00:56 +02:00
..
Makefile.in
bitblt.c
brush.c
clipboard.c
desktop.c
display.c winex11.drv: Forward clip_fullscreen_window to foreground thread. 2020-10-05 22:00:56 +02:00
event.c
graphics.c
ime.c
init.c
keyboard.c
mouse.c winex11.drv: Forward clip_fullscreen_window to foreground thread. 2020-10-05 22:00:56 +02:00
mwm.h
opengl.c
palette.c
pen.c
settings.c
systray.c
version.rc
vulkan.c
window.c winex11.drv: Forward clip_fullscreen_window to foreground thread. 2020-10-05 22:00:56 +02:00
winex11.drv.spec
wintab.c
x11drv.h winex11.drv: Forward clip_fullscreen_window to foreground thread. 2020-10-05 22:00:56 +02:00
x11drv_main.c
xcomposite.h
xdnd.c
xim.c
xinerama.c
xrandr.c
xrender.c
xvidmode.c