diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-24 01:14:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-24 01:14:34 +0000 |
| commit | 57a46b4f0f4dd64b57333bad6f2f1f805584b4da (patch) | |
| tree | 8d9e29a1ed4057c603b2c6df74e6137c50bfead3 /src | |
| parent | cbf4bb3d62df50045fd71920256865becae21990 (diff) | |
default to line width of 0, which is more efficient than 1
Diffstat (limited to 'src')
| -rw-r--r-- | src/GCCache.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GCCache.hh b/src/GCCache.hh index fc4ba133..e7a6c2b7 100644 --- a/src/GCCache.hh +++ b/src/GCCache.hh @@ -44,7 +44,7 @@ public: private: BGCCacheContext(const BaseDisplay * const _display) : display(_display), gc(0), pixel(0ul), fontid(0ul), - function(0), subwindow(0), used(false), screen(~(0u)), linewidth(1) {} + function(0), subwindow(0), used(false), screen(~(0u)), linewidth(0) {} const BaseDisplay *display; GC gc; @@ -113,7 +113,7 @@ private: class BPen { public: inline BPen(const BColor &_color, const XFontStruct * const _font = 0, - int _linewidth = 1, int _function = GXcopy, + int _linewidth = 0, int _function = GXcopy, int _subwindow = ClipByChildren) : color(_color), font(_font), linewidth(_linewidth), function(_function), subwindow(_subwindow), cache(_color.display()->gcCache()), item(0) { } |
