Fix logic for figuring out what ConfigureNotify positions can be trusted
authorOwen W. Taylor <otaylor@fishsoup.net>
Mon, 17 Oct 2011 21:27:43 +0000 (17:27 -0400)
committerRaspbian forward porter <root@raspbian.org>
Tue, 15 Nov 2016 19:34:19 +0000 (19:34 +0000)
commiteffb31d97a87ac72343bfa6bfe38d82a8246a9ec
tree33fc88c3bb3c615169d0f6251165df282bf2b4cd
parentde1dc1a5196e1b45937629bc6690186538304d9b
Fix logic for figuring out what ConfigureNotify positions can be trusted

When reading ahead in the queue for ConfigureNotify events, it's necessary
to look for intermediate ReparentNotify events as well, since they will
determine whether the position in the event can be trusted or not.

Bug: https://bugreports.qt.nokia.com/browse/QTBUG-21900

Gbp-Pq: Name QTBUG-21900_Buttons_in_Qt_applications_not_clickable_when_run_under_gnome-shell.patch
src/gui/kernel/qapplication_x11.cpp