From 23a7f188297ba3cef1bf13f1be9407ff6eb9bd62 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 04:11:24 +0000 Subject: add a skeletal OBActions class for user actions --- src/openbox.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/openbox.cc') diff --git a/src/openbox.cc b/src/openbox.cc index 44d3b8c4..d17a5500 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -8,6 +8,7 @@ #include "openbox.hh" #include "client.hh" #include "screen.hh" +#include "actions.hh" #include "otk/property.hh" #include "otk/display.hh" #include "otk/assassin.hh" @@ -49,7 +50,8 @@ extern "C" { namespace ob { -Openbox *Openbox::instance = (Openbox *) 0; +Openbox *Openbox::instance = (Openbox *) 0; +OBActions *Openbox::actions = (OBActions *) 0; void Openbox::signalHandler(int signal) @@ -122,6 +124,8 @@ Openbox::Openbox(int argc, char **argv) _property = new otk::OBProperty(); + Openbox::actions = new OBActions(); + // create the mouse cursors we'll use _cursors.session = XCreateFontCursor(otk::OBDisplay::display, XC_left_ptr); _cursors.move = XCreateFontCursor(otk::OBDisplay::display, XC_fleur); -- cgit v1.2.3