From: Rémi Bernon <rbernon(a)codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58915 --- dlls/winex11.drv/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index 9deccc2acfc..9475b0236fb 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -544,7 +544,7 @@ BOOL X11DRV_ProcessEvents( DWORD mask ) XFlush( gdi_display ); if (count) TRACE( "processed %d events\n", count ); - if (check_fd_events( ConnectionNumber( data->display ), POLLIN )) return FALSE; + if (mask != QS_ALLINPUT || check_fd_events( ConnectionNumber( data->display ), POLLIN )) return FALSE; XFlush( data->display ); /* all events have been processed, flush any pending request */ return TRUE; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9377