]> Dogcows Code - chaz/openbox/blobdiff - otk/renderstyle.cc
make struts get added to the screen when mapping a window. let the user disable windo...
[chaz/openbox] / otk / renderstyle.cc
index a2cfae215a8d8d26f97527e60775a47ae611ec9a..41745ea07e7899dae00934980d7b770a443c81e6 100644 (file)
@@ -14,6 +14,8 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
   : _screen(screen),
     _file(stylefile)
 {
+  _root_color = new RenderColor(_screen, 0x272a2f);
+  
   _text_color_focus = new RenderColor(_screen, 0x272a2f);
   _text_color_unfocus = new RenderColor(_screen, 0x676869);
 
@@ -220,6 +222,8 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
 
 RenderStyle::~RenderStyle()
 {
+  delete _root_color;
+  
   delete _text_color_focus;
   delete _text_color_unfocus;
 
This page took 0.024819 seconds and 4 git commands to generate.