From 4e0b5fdef451c605f563d137b024134a68c6d6de Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 11:50:20 +0000 Subject: some cleanups make the OBActions instance not static --- src/openbox.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/openbox.cc') 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); -- cgit v1.2.3