aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenPlacement.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-27 20:29:35 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-27 20:29:35 (GMT)
commita2ec0c9bdd9ebcc713426a79209b9ca90b4db301 (patch)
tree3d7b659c38f3b01e4e09a4887dc7b7cf1f73689b /src/ScreenPlacement.cc
parent84c87a86f9365014b7425c56a2a1051c102df804 (diff)
downloadfluxbox-a2ec0c9bdd9ebcc713426a79209b9ca90b4db301.zip
fluxbox-a2ec0c9bdd9ebcc713426a79209b9ca90b4db301.tar.bz2
make FbWinFrame and FluxboxWindow share a WindowState object
Diffstat (limited to 'src/ScreenPlacement.cc')
-rw-r--r--src/ScreenPlacement.cc4
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)