aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2013-08-02 09:19:26 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-08-02 09:19:26 (GMT)
commitff3635ad0aa55f781314ff8b43ed3183cfb12ab6 (patch)
tree8ae5cbc88d0d61d1b7665086d997f038c9f68289 /src/FbCommands.cc
parent57ec44e9940992554c8d55b09e885f9c020a209d (diff)
downloadfluxbox-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 'src/FbCommands.cc')
0 files changed, 0 insertions, 0 deletions