aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
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);