From 01732a20dbb6b75431dc34fbe8401bfca952f43a Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Sat, 14 Sep 2002 04:01:20 +0000 Subject: Some bitmap bugfixes Fixed parameters to XFillRectangle, remoced old debug code. --- src/Toolbar.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Toolbar.cc') 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); -- cgit v1.2.3