summaryrefslogtreecommitdiff
path: root/src/openbox.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.hh')
-rw-r--r--src/openbox.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/openbox.hh b/src/openbox.hh
index 18c0e85c..c810057f 100644
--- a/src/openbox.hh
+++ b/src/openbox.hh
@@ -22,7 +22,8 @@ extern "C" {
#include "otk/timerqueuemanager.hh"
#include "otk/property.hh"
#include "otk/configuration.hh"
-#include "xeventhandler.hh"
+#include "otk/eventdispatcher.hh"
+#include "otk/eventhandler.hh"
#include "client.hh"
namespace ob {
@@ -39,7 +40,7 @@ class OBScreen;
not exit until the window manager is ready to be destroyed. Destruction of
the Openbox class instance will shutdown the window manager.
*/
-class Openbox
+class Openbox : public otk::OtkEventDispatcher, public otk::OtkEventHandler
{
public:
//! The single instance of the Openbox class for the application.
@@ -102,9 +103,6 @@ private:
*/
otk::OBTimerQueueManager _timermanager;
- //! 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