From 0348a2f3abd2334f5f5812c5fb45c1b4fffb46a5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 20 Jan 2003 07:07:13 +0000 Subject: add rendercolor class, with a cache of gcs for the colors --- src/openbox.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/openbox.cc b/src/openbox.cc index 9642cd06..6436140d 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -14,6 +14,7 @@ #include "otk/assassin.hh" #include "otk/property.hh" #include "otk/util.hh" +#include "otk/rendercolor.hh" extern "C" { #include @@ -126,6 +127,7 @@ Openbox::Openbox(int argc, char **argv) // anything that died while we were restarting won't give us a SIGCHLD while (waitpid(-1, NULL, WNOHANG) > 0); + otk::RenderColor::initialize(); otk::Timer::initialize(); otk::Property::initialize(); _actions = new Actions(); @@ -208,6 +210,7 @@ Openbox::~Openbox() //otk::display->destroy(); otk::Timer::destroy(); + otk::RenderColor::destroy(); if (_restart) { if (!_restart_prog.empty()) { -- cgit v1.2.3