aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 46c8e63..488a37b 100644
--- a/src/Window.cc
+++ b/src/Window.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: Window.cc,v 1.180 2003/05/19 15:32:47 rathnor Exp $ 25// $Id: Window.cc,v 1.181 2003/05/19 15:39:06 rathnor Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -1404,7 +1404,7 @@ void FluxboxWindow::maximizeHorizontal() {
1404 unsigned int left_x = screen().maxLeft(frame().window()); 1404 unsigned int left_x = screen().maxLeft(frame().window());
1405 unsigned int max_width = screen().maxRight(frame().window()); 1405 unsigned int max_width = screen().maxRight(frame().window());
1406 moveResize(left_x, frame().y(), 1406 moveResize(left_x, frame().y(),
1407 max_width - left_x, frame().height() - frame().window().borderWidth()); 1407 max_width - left_x - 2*frame().window().borderWidth(), frame().height());
1408 1408
1409} 1409}
1410 1410
@@ -1414,8 +1414,8 @@ void FluxboxWindow::maximizeHorizontal() {
1414void FluxboxWindow::maximizeVertical() { 1414void FluxboxWindow::maximizeVertical() {
1415 unsigned int max_top = screen().maxTop(frame().window()); 1415 unsigned int max_top = screen().maxTop(frame().window());
1416 moveResize(frame().x(), max_top, 1416 moveResize(frame().x(), max_top,
1417 frame().width() - frame().window().borderWidth(), 1417 frame().width(),
1418 screen().maxBottom(frame().window()) - max_top); 1418 screen().maxBottom(frame().window()) - max_top - 2*frame().window().borderWidth());
1419} 1419}
1420 1420
1421 1421