aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authormathias <mathias>2005-01-03 05:00:39 (GMT)
committermathias <mathias>2005-01-03 05:00:39 (GMT)
commitfdc9b5adb7eb49a9e2481b07e9298b634133f745 (patch)
tree05f4673967897de19204895b50923765c36041e5 /src/Toolbar.cc
parent0438a7bfd72b08dab7ede46f40b0f7f1f368c6fb (diff)
downloadfluxbox-fdc9b5adb7eb49a9e2481b07e9298b634133f745.zip
fluxbox-fdc9b5adb7eb49a9e2481b07e9298b634133f745.tar.bz2
fixed #996298, maximized windows and snapped windows dont respect
toolbar-borderwidth further more windows do snap at screen-edges, no matter if maxover is enabled or not
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index b2566b3..db0c4b8 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -314,22 +314,22 @@ void Toolbar::updateStrut() {
314 case TOPLEFT: 314 case TOPLEFT:
315 case TOPCENTER: 315 case TOPCENTER:
316 case TOPRIGHT: 316 case TOPRIGHT:
317 top = height(); 317 top = height() + 2 * theme().border().width();
318 break; 318 break;
319 case BOTTOMLEFT: 319 case BOTTOMLEFT:
320 case BOTTOMCENTER: 320 case BOTTOMCENTER:
321 case BOTTOMRIGHT: 321 case BOTTOMRIGHT:
322 bottom = height(); 322 bottom = height() + 2 * theme().border().width();
323 break; 323 break;
324 case RIGHTTOP: 324 case RIGHTTOP:
325 case RIGHTCENTER: 325 case RIGHTCENTER:
326 case RIGHTBOTTOM: 326 case RIGHTBOTTOM:
327 right = width(); 327 right = width() + 2 * theme().border().width();
328 break; 328 break;
329 case LEFTTOP: 329 case LEFTTOP:
330 case LEFTCENTER: 330 case LEFTCENTER:
331 case LEFTBOTTOM: 331 case LEFTBOTTOM:
332 left = width(); 332 left = width() + 2 * theme().border().width();
333 break; 333 break;
334 }; 334 };
335 m_strut = screen().requestStrut(getOnHead(), left, right, top, bottom); 335 m_strut = screen().requestStrut(getOnHead(), left, right, top, bottom);