diff options
author | rathnor <rathnor> | 2004-03-15 03:48:47 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-03-15 03:48:47 (GMT) |
commit | 1d58e3afb289dd33ddb1b22533f4d717339ec216 (patch) | |
tree | 29c1c9293d6e92dcd6703820b94850ccd459426d | |
parent | d5871837d82cacc16371162dab14ba2f0589b19e (diff) | |
download | fluxbox_lack-1d58e3afb289dd33ddb1b22533f4d717339ec216.zip fluxbox_lack-1d58e3afb289dd33ddb1b22533f4d717339ec216.tar.bz2 |
fix spin bug in placeWindow
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/Workspace.cc | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,9 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.9: | 2 | Changes for 0.9.9: |
3 | *04/03/15: | ||
4 | * bug in placeWindow caused spinning with screens higher than width | ||
5 | e.g. vertical xinerama (Simon) | ||
6 | Workspace.cc | ||
3 | *04/03/13: | 7 | *04/03/13: |
4 | * Fixed so it compiles in cygwin (Henrik) | 8 | * Fixed so it compiles in cygwin (Henrik) |
5 | I18n.hh | 9 | I18n.hh |
diff --git a/src/Workspace.cc b/src/Workspace.cc index 6ffbb52..af57d76 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Workspace.cc,v 1.92 2004/02/28 16:55:59 fluxgen Exp $ | 25 | // $Id: Workspace.cc,v 1.93 2004/03/15 03:48:47 rathnor Exp $ |
26 | 26 | ||
27 | #include "Workspace.hh" | 27 | #include "Workspace.hh" |
28 | 28 | ||
@@ -498,9 +498,9 @@ void Workspace::placeWindow(FluxboxWindow &win) { | |||
498 | test_x = head_right - win_w; | 498 | test_x = head_right - win_w; |
499 | 499 | ||
500 | if (top_bot) | 500 | if (top_bot) |
501 | next_y = head_right; // it will get shrunk | 501 | next_y = head_top; |
502 | else | 502 | else |
503 | next_y = head_left; | 503 | next_y = head_bot - win_h; // will be shrunk |
504 | 504 | ||
505 | while (!placed && | 505 | while (!placed && |
506 | (left_right ? test_x + win_w < head_right | 506 | (left_right ? test_x + win_w < head_right |