#include "otk/screeninfo.hh"
#include "otk/timerqueuemanager.hh"
+#include "otk/property.hh"
#include "xeventhandler.hh"
namespace ob {
//! The class which will handle raw XEvents
OBXEventHandler _xeventhandler;
+ //! Cached atoms on the display
+ /*!
+ This is a pointer because the OBProperty class uses otk::OBDisplay::display
+ in its constructor, so, it needs to be initialized <b>after</b> the display
+ is initialized in this class' constructor.
+ */
+ otk::OBProperty *_property;
+
//! The running state of the window manager
RunState _state;
*/
inline otk::OBTimerQueueManager *timerManager() { return &_timermanager; }
+ inline const otk::OBProperty *property() const { return _property; }
+
//! The main function of the Openbox class
/*!
This function should be called after instantiating the Openbox class.
- Loops indefinately while handling all events in the application.
+ It loops indefinately while handling all events for the application.
The Openbox::shutdown method will cause this function to exit.
*/
void eventLoop();