summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-02-02 16:44:38 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-03 14:25:17 (GMT)
commit21713e04160ee285c831fedd1f3c7b8ce0aba681 (patch)
tree476e719f27ab0023b03df879af4330539bb38f07 /tests
parentf5ddeeca80983ad7579e0b7ba116f0250debdfcd (diff)
downloadQt-21713e04160ee285c831fedd1f3c7b8ce0aba681.zip
Qt-21713e04160ee285c831fedd1f3c7b8ce0aba681.tar.gz
Qt-21713e04160ee285c831fedd1f3c7b8ce0aba681.tar.bz2
Take into account shaping in findRealWindow
It can happen that there is a window covering all the screen but it is shaped to only take part of the screen. If that happens, besides the condition of QRect(attr.x,attr.y,attr.width,attr.height).contains(pos) we also need to query the server for its region rectangles and make sure the cursor is inside one of those rectangles. If that does not happen we have to return 0 so the hierarchical XQueryTree search continues Change-Id: Icb2204a50197e4a5e02e75601c67287525b290b0 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions