summaryrefslogtreecommitdiff
path: root/src/openbox.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-13 08:13:58 +0000
committerDana Jansens <danakj@orodu.net>2003-01-13 08:13:58 +0000
commit9e77a88d269bfafb78e56a646bfacebdd6ff4c5a (patch)
treeee8dba749b3a6f1eaa21cf47b01ac4be11931455 /src/openbox.hh
parent4dba699857918d0feda52c71c58eccd08839ec8b (diff)
move the Openbox::instance pointer to simply "openbox".
Diffstat (limited to 'src/openbox.hh')
-rw-r--r--src/openbox.hh15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/openbox.hh b/src/openbox.hh
index 51671897..9001db60 100644
--- a/src/openbox.hh
+++ b/src/openbox.hh
@@ -38,6 +38,14 @@ struct Cursors {
Cursor ur_angle; //!< For resizing the right corner of a window
};
+class Openbox;
+
+//! The single instance of the Openbox class for the application
+/*!
+ Since this variable is globally available in the application, the Openbox
+ class does not need to be passed around to any of the other classes.
+*/
+extern Openbox *openbox;
//! The main class for the Openbox window manager
/*!
@@ -52,13 +60,6 @@ struct Cursors {
class Openbox : public otk::EventDispatcher, public otk::EventHandler
{
public:
- //! The single instance of the Openbox class for the application
- /*!
- Since this variable is globally available in the application, the Openbox
- class does not need to be passed around to any of the other classes.
- */
- static Openbox *instance;
-
//! The posible running states of the window manager
enum RunState {
State_Starting, //!< The window manager is starting up (being created)