]> Dogcows Code - chaz/openbox/blobdiff - src/GCCache.cc
caps
[chaz/openbox] / src / GCCache.cc
index 57310a44168b46d9e570de7c7b573baede81b521..35670a85046583142e93ae75c2508ef77e7e5bc6 100644 (file)
@@ -35,6 +35,12 @@ extern "C" {
 #include "Util.hh"
 
 
+BGCCacheContext::~BGCCacheContext(void) {
+  if (gc)
+    XFreeGC(display->getXDisplay(), gc);
+}
+
+
 void BGCCacheContext::set(const BColor &_color,
                           const XFontStruct * const _font,
                           const int _function, const int _subwindow) {
This page took 0.020975 seconds and 4 git commands to generate.