diff options
author | Peter Hercek <hercek@users.sourceforge.net> | 2012-07-28 22:00:59 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-08-22 16:49:09 (GMT) |
commit | 60a53113e05db443af4d520883ec3145680642a8 (patch) | |
tree | 42e83d8d35cb0b66722969d4e3bab1b56b67c662 /src/FbTk/ImageControl.cc | |
parent | 71f75c70ae4e47ba0a58590aeb17152fc648edf7 (diff) | |
download | fluxbox-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