aboutsummaryrefslogtreecommitdiff
path: root/src/RectangleUtil.hh
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-06-29 21:42:15 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-07-01 17:41:59 (GMT)
commit9d34cdbfa9a4e026cca504c7aec728ddfc86cbc6 (patch)
tree89ad8658fa827f7fd3b27f34ab330a8231764deb /src/RectangleUtil.hh
parent9dccccb84df930eca0e74a96d18b0cee36a3e216 (diff)
downloadfluxbox-9d34cdbfa9a4e026cca504c7aec728ddfc86cbc6.zip
fluxbox-9d34cdbfa9a4e026cca504c7aec728ddfc86cbc6.tar.bz2
avoid calling into XLib
Testing one bug, the function seems usually be called with the root window as parameter, so we can save a pointless lookup for the root of the root by testing against window before testing against window_root. Elegantly, this will "fix" the bug where XGetGeometry of the second heads root will either report the first heads root or some junk (xephyr case?) BUG: 1128
Diffstat (limited to 'src/RectangleUtil.hh')
0 files changed, 0 insertions, 0 deletions