diff options
Diffstat (limited to 'src/ScreenPlacement.cc')
-rw-r--r-- | src/ScreenPlacement.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ScreenPlacement.cc b/src/ScreenPlacement.cc index 4397092..fa6aefc 100644 --- a/src/ScreenPlacement.cc +++ b/src/ScreenPlacement.cc | |||
@@ -115,8 +115,8 @@ bool ScreenPlacement::placeWindow(const FluxboxWindow &win, int head, | |||
115 | 115 | ||
116 | 116 | ||
117 | 117 | ||
118 | int win_w = win.width() + win.fbWindow().borderWidth()*2 + win.widthOffset(), | 118 | int win_w = win.normalWidth() + win.fbWindow().borderWidth()*2 + win.widthOffset(), |
119 | win_h = win.height() + win.fbWindow().borderWidth()*2 + win.heightOffset(); | 119 | win_h = win.normalHeight() + win.fbWindow().borderWidth()*2 + win.heightOffset(); |
120 | 120 | ||
121 | // make sure the window is inside our screen(head) area | 121 | // make sure the window is inside our screen(head) area |
122 | if (place_x + win_w - win.xOffset() > head_right) | 122 | if (place_x + win_w - win.xOffset() > head_right) |