diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-20 07:07:13 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-20 07:07:13 +0000 |
| commit | 0348a2f3abd2334f5f5812c5fb45c1b4fffb46a5 (patch) | |
| tree | f19e07f899a3e390dbc8f2484d6b1426defcbb47 /src/openbox.cc | |
| parent | cfd8f9a65848c5e7b0514999581512069a4f98f6 (diff) | |
add rendercolor class, with a cache of gcs for the colors
Diffstat (limited to 'src/openbox.cc')
| -rw-r--r-- | src/openbox.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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 <X11/cursorfont.h> @@ -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()) { |
