summaryrefslogtreecommitdiffstats
path: root/src/xml/dom
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-02-07 15:48:51 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-09 10:50:20 +0100
commit651016020f9ac996f2aac50e2d30505bdffe2331 (patch)
tree05c5cdce2afe4300a609a11c0abb9ca424be669c /src/xml/dom
parent5cd73e508886c38ce52e883294484f1ab58a519e (diff)
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 xcb_query_tree_children xcb_query_tree_childrenntinues Change-Id: I67327672e3d854d064190b55a07bd56ade4dfddb Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/xml/dom')
0 files changed, 0 insertions, 0 deletions