qt5base-lts/src/plugins
Uli Schlachter ac5c64fccd XCB: Ignore _NET_WM_PING on the root window
With a _NET_WM_PING message, a window manager can check if an
application still works or if it froze. The WM sends such a message to
the application window and the application sends the message back to the
root window.

Since change Ia04268b0 / commit d8090022f "Move the X11 system tray code
from widgets into XCB-plugin.", Qt selects StructureNotifyMask on the
root window. Due to this, we now also receive replies to _NET_WM_PING
and treat them like a _NET_WM_PING request.

This caused an endless loop as soon as any _NET_WM_PING was seen where
Qt would send a _NET_WM_PING to itself and handle it again and again.

Fix this by ignoring _NET_WM_PING messages that are sent to the root
window. According to EWMH, such messages can only be replies to
_NET_WM_PING and GTK does this, too.

Task-number: QTBUG-32957
Change-Id: I1b0aa682f99b17d633baacc14b18b3adca7a1aba
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
2013-08-16 15:54:30 +02:00
..
accessible Deal with unused functions, as found by the Intel compiler 2013-07-01 02:02:17 +02:00
bearer BlackBerry QNetworkConfiguration: Keep track of bearer type 2013-06-24 15:09:06 +02:00
generic Correct location of mtdev define. 2013-04-03 00:37:48 +02:00
imageformats Remove use of 'register' from Qt. 2013-06-17 09:44:22 +02:00
platforminputcontexts Make access to xkbcommon_workaround.h more generic 2013-05-07 22:43:14 +02:00
platforms XCB: Ignore _NET_WM_PING on the root window 2013-08-16 15:54:30 +02:00
platformthemes Have QFileDialog use QUrl internally 2013-07-18 13:17:41 +02:00
printsupport Add support for setting/getting the paper name on the QPrinter 2013-03-12 09:16:42 +01:00
sqldrivers Move the dbmstype to QSqlDriverPrivate so it can be used for all drivers 2013-04-02 19:02:26 +02:00
plugins.pro Don't build the bearer plugin if network is not available 2013-02-19 19:20:47 +01:00