specify projecting cap style
This commit is contained in:
parent
25a5b72909
commit
f329167e4c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue