From d7d6cb215181eaa02e5aea89149fc2c6d702ddc5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 11 Jun 2025 13:39:33 +0900 Subject: Explicitly add 'ExcludeTimers' to 'ProcessEvent' enum Signed-off-by: Michele Calgaro (cherry picked from commit 5e8114b6f0ce10965a69cab4a61ce369cbb21d21) --- src/kernel/qclipboard_x11.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/qclipboard_x11.cpp') diff --git a/src/kernel/qclipboard_x11.cpp b/src/kernel/qclipboard_x11.cpp index d0571fc5a..ae5e093a8 100644 --- a/src/kernel/qclipboard_x11.cpp +++ b/src/kernel/qclipboard_x11.cpp @@ -502,10 +502,10 @@ bool qt_xclb_wait_for_event( Display *dpy, Window win, int type, XEvent *event, if ( started > now ) // crossed midnight started = now; - // 0x08 == ExcludeTimers for X11 only - tqApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput | + tqApp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers | - TQEventLoop::WaitForMore | 0x08 ); + TQEventLoop::WaitForMore | + TQEventLoop::ExcludeTimers); if ( has_captured_event ) { waiting_for_data = FALSE; -- cgit v1.2.3