aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.cc
diff options
context:
space:
mode:
authorPeter Hercek <hercek@users.sourceforge.net>2013-02-26 19:15:44 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-05-23 06:27:15 (GMT)
commit5e3217441ad0f97bff1e946fb93a9673ac806052 (patch)
tree16f0e0929920b09ee3c4cfa87a4bc4db61c5ef78 /src/IconButton.cc
parent6dca40aae6e0b0d923cc5eb7d18bb53c0a42482e (diff)
downloadfluxbox-5e3217441ad0f97bff1e946fb93a9673ac806052.zip
fluxbox-5e3217441ad0f97bff1e946fb93a9673ac806052.tar.bz2
fix head detection for adjacent heads of too different sizes and window placement based on apps file
* if you have e.g a 1920x1200 monitor and a small 800x600 monitor to the right of the bigger one and a small window at the right side of the big monitor (but still the whole window area at the big monitor) then the original head detection would claim the window is on the small monitor because (800/2+windowWidth/2 < 1920/2+windowWidth/2) is true for small windows; but that is obviously wrong, the window is entirely on the big monitor * these incorrect head detections did lead to incorrect window placements as they were required in the apps file
Diffstat (limited to 'src/IconButton.cc')
0 files changed, 0 insertions, 0 deletions