diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-06-29 21:42:15 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-07-01 17:41:59 (GMT) |
commit | 9d34cdbfa9a4e026cca504c7aec728ddfc86cbc6 (patch) | |
tree | 89ad8658fa827f7fd3b27f34ab330a8231764deb /src/FbTk/ImageXPM.hh | |
parent | 9dccccb84df930eca0e74a96d18b0cee36a3e216 (diff) | |
download | fluxbox-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/FbTk/ImageXPM.hh')
0 files changed, 0 insertions, 0 deletions