projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217488e
)
Draw close button with line_width of 2.
author
Scott Moynes
<smoynes@nexus.carleton.ca>
Mon, 26 Aug 2002 23:52:37 +0000
(23:52 +0000)
committer
Scott Moynes
<smoynes@nexus.carleton.ca>
Mon, 26 Aug 2002 23:52:37 +0000
(23:52 +0000)
src/Window.cc
patch
|
blob
|
history
diff --git
a/src/Window.cc
b/src/Window.cc
index c260818c68ba271e97dce45fe7c89ffca0bede36..a1567156da20fbacb896249e7b03ea128c848572 100644
(file)
--- a/
src/Window.cc
+++ b/
src/Window.cc
@@
-2635,7
+2635,7
@@
void BlackboxWindow::redrawCloseButton(bool pressed) const {
XClearWindow(blackbox->getXDisplay(), frame.close_button);
BPen pen((flags.focused) ? screen->getWindowStyle()->b_pic_focus :
- screen->getWindowStyle()->b_pic_unfocus);
+ screen->getWindowStyle()->b_pic_unfocus
, 0, 2
);
XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(),
2, 2, (frame.button_w - 3), (frame.button_w - 3));
XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(),