aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-03-15 03:48:47 (GMT)
committerrathnor <rathnor>2004-03-15 03:48:47 (GMT)
commit1d58e3afb289dd33ddb1b22533f4d717339ec216 (patch)
tree29c1c9293d6e92dcd6703820b94850ccd459426d /src
parentd5871837d82cacc16371162dab14ba2f0589b19e (diff)
downloadfluxbox-1d58e3afb289dd33ddb1b22533f4d717339ec216.zip
fluxbox-1d58e3afb289dd33ddb1b22533f4d717339ec216.tar.bz2
fix spin bug in placeWindow
Diffstat (limited to 'src')
-rw-r--r--src/Workspace.cc6
1 files changed, 3 insertions, 3 deletions
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