+ //! Returns the OBActions instance for the window manager
+ inline OBActions *actions() const { return _actions; }
+
+ //! Returns the OBBindings instance for the window manager
+ inline OBBindings *bindings() const { return _bindings; }
+
+ //! Returns a managed screen
+ inline OBScreen *screen(int num) {
+ assert(num >= 0); assert(num < (signed)_screens.size());
+ if (num >= screenCount())
+ return NULL;
+ return _screens[num];
+ }
+
+ //! Returns the number of managed screens
+ inline int screenCount() const {
+ return (signed)_screens.size();
+ }
+