aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ImageControl.cc
diff options
context:
space:
mode:
authorPeter Hercek <hercek@users.sourceforge.net>2012-07-28 22:00:59 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-08-22 16:49:09 (GMT)
commit60a53113e05db443af4d520883ec3145680642a8 (patch)
tree42e83d8d35cb0b66722969d4e3bab1b56b67c662 /src/FbTk/ImageControl.cc
parent71f75c70ae4e47ba0a58590aeb17152fc648edf7 (diff)
downloadfluxbox-60a53113e05db443af4d520883ec3145680642a8.zip
fluxbox-60a53113e05db443af4d520883ec3145680642a8.tar.bz2
fix sanity check for transient and explicitly placed windows
When a screen has more heads and some part of the screen is not on any head and some window is placed into this invisible area then the window is invisible which sucks. This patch repositions such windows so that they are visible. Example: * head 1 is at (0,120) (size 640x480) * head 2 is at (480,0) (size 800x600) * whole screen virtual size is 1440x600 * that means rectangle from (0,0) to (640,120) is not visible on any head and any windows placed there would not be visible; for example wireshark likes to place dialog boxes at (0,0)
Diffstat (limited to 'src/FbTk/ImageControl.cc')
0 files changed, 0 insertions, 0 deletions