From 7318328c2d658f6ca2e9443c6e3e3b0a179e9811 Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Wed, 19 Aug 2020 16:49:53 +0200 Subject: qwsi: revert parts of 00ae1e6b7bf6efa5f5e57d37844e44d521604fb6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We actually do not need this "mode" in qwsi API. I think while writing the patch from 00ae1e6b7b I got confused by focusing on my test application. We can't know what the native event filter will filter out, therefore it makes sense that we unconditionally do filtering at qwsi level as well for user input vs other events in QWindowSystemInterface::sendWindowSystemEvents(). Pick-to: 5.15 Pick-to: 5.12 Change-Id: Idb23152a24bf3ba3b91804427a6e78f991969c29 Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/xcb/qxcbintegration.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/plugins/platforms/xcb') diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp b/src/plugins/platforms/xcb/qxcbintegration.cpp index c7b8fb86db..5dd6fbe57a 100644 --- a/src/plugins/platforms/xcb/qxcbintegration.cpp +++ b/src/plugins/platforms/xcb/qxcbintegration.cpp @@ -142,8 +142,6 @@ QXcbIntegration::QXcbIntegration(const QStringList ¶meters, int &argc, char m_instance = this; qApp->setAttribute(Qt::AA_CompressHighFrequencyEvents, true); - QWindowSystemInterface::setPlatformFiltersEvents(true); - qRegisterMetaType(); #if QT_CONFIG(xcb_xlib) XInitThreads(); -- cgit v1.2.3