diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-09-14 04:01:20 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-09-14 04:01:20 +0000 |
| commit | 01732a20dbb6b75431dc34fbe8401bfca952f43a (patch) | |
| tree | 73d096db0d417968493f7035685c120c3a259cde /src/Toolbar.cc | |
| parent | d947f35db63d0dd89428836128ec2197148e5e7d (diff) | |
Some bitmap bugfixes
Fixed parameters to XFillRectangle, remoced old debug code.
Diffstat (limited to 'src/Toolbar.cc')
| -rw-r--r-- | src/Toolbar.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
