diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2013-08-02 09:19:26 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2013-08-02 09:19:26 (GMT) |
commit | ff3635ad0aa55f781314ff8b43ed3183cfb12ab6 (patch) | |
tree | 8ae5cbc88d0d61d1b7665086d997f038c9f68289 /doc | |
parent | 57ec44e9940992554c8d55b09e885f9c020a209d (diff) | |
download | fluxbox-ff3635ad0aa55f781314ff8b43ed3183cfb12ab6.zip fluxbox-ff3635ad0aa55f781314ff8b43ed3183cfb12ab6.tar.bz2 |
Fix ArrangeWindowsStack* for multi-head displays
* Fix integer wrap around for some situations (resulting in a very wide
window):
w = max_width - x_offs - (*closest)->widthOffset()
If the given window is on the right most display and thus 'x_offs' is
bigger than 'max_width' (half of the display width), the resulting 'w' wraps
around and becomes very large.
* Place a single window via ArrangeWindowsStack* as well
* Some minor code styling / reordering along the way
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions