diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-04 11:50:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-04 11:50:20 +0000 |
| commit | 4e0b5fdef451c605f563d137b024134a68c6d6de (patch) | |
| tree | 2d15a2fc9b46140c7034bc906d6052bc5007c6eb /src/openbox.cc | |
| parent | 7dc834cc93efb9a4181ba7d29a72d49e596e9746 (diff) | |
some cleanups
make the OBActions instance not static
Diffstat (limited to 'src/openbox.cc')
| -rw-r--r-- | src/openbox.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/openbox.cc b/src/openbox.cc index 24ea9b2e..18c4a5ca 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -51,7 +51,6 @@ extern "C" { namespace ob { Openbox *Openbox::instance = (Openbox *) 0; -OBActions *Openbox::actions = (OBActions *) 0; void Openbox::signalHandler(int signal) @@ -124,9 +123,9 @@ Openbox::Openbox(int argc, char **argv) _property = new otk::OBProperty(); - Openbox::actions = new OBActions(); + _actions = new OBActions(); - setMasterHandler(Openbox::actions); // set as the master event handler + setMasterHandler(_actions); // set as the master event handler // create the mouse cursors we'll use _cursors.session = XCreateFontCursor(otk::OBDisplay::display, XC_left_ptr); |
