X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FToolbar.cc;h=d7dc36a412284e6db8afd53b719733f58a3a0653;hb=01732a20dbb6b75431dc34fbe8401bfca952f43a;hp=8c2325b5c58c7da014b097482f5e270e43d12232;hpb=c2d992a35c11b8212bf390528d9828a815e8b5fd;p=chaz%2Fopenbox diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 8c2325b5..d7dc36a4 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -651,8 +651,7 @@ void Toolbar::drawArrow(Drawable surface, bool left) const { XFillRectangle(blackbox->getXDisplay(), surface, pen.gc(), (frame.button_w - style->left_button.w)/2, (frame.button_w - style->left_button.h)/2, - (frame.button_w + style->left_button.w)/2, - (frame.button_w + style->left_button.h)/2); + style->left_button.w, style->left_button.h); XSetClipMask(blackbox->getXDisplay(), pen.gc(), None); XSetClipOrigin(blackbox->getXDisplay(), pen.gc(), 0, 0);