diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Workspace.cc | 6 |
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 |