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:
25a5b72
)
specify projecting cap style
author
Dana Jansens
<danakj@orodu.net>
Mon, 20 Jan 2003 17:07:42 +0000
(17:07 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 20 Jan 2003 17:07:42 +0000
(17:07 +0000)
otk/rendercolor.cc
patch
|
blob
|
history
diff --git
a/otk/rendercolor.cc
b/otk/rendercolor.cc
index 99dd3341bd25c606416e6c5e5f189bb780712bd1..1a95ded992c8063f5beb286271a6973695d81317 100644
(file)
--- a/
otk/rendercolor.cc
+++ b/
otk/rendercolor.cc
@@
-57,7
+57,9
@@
RenderColor::RenderColor(int screen, unsigned char red,
}
gcv.foreground = xcol.pixel;
- _gc = XCreateGC(**display, info->rootWindow(), GCForeground, &gcv);
+ gcv.cap_style = CapProjecting;
+ _gc = XCreateGC(**display, info->rootWindow(),
+ GCForeground | GCCapStyle, &gcv);
assert(_gc);
// insert into the cache