summaryrefslogtreecommitdiff
path: root/src/window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.hh')
-rw-r--r--src/window.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.hh b/src/window.hh
index c8ccc341..29818b43 100644
--- a/src/window.hh
+++ b/src/window.hh
@@ -12,8 +12,8 @@ extern "C" {
#include <string>
+#include "otk/timer.hh"
#include "blackbox.hh"
-#include "timer.hh"
#include "util.hh"
#define MwmHintsFunctions (1l << 0)
@@ -70,7 +70,7 @@ public:
};
-class BlackboxWindow : public TimeoutHandler {
+class BlackboxWindow {
public:
enum Function { Func_Resize = (1l << 0),
Func_Move = (1l << 1),
@@ -105,7 +105,7 @@ private:
Blackbox *blackbox;
BScreen *screen;
XAtom *xatom;
- OBTimer *timer;
+ otk::OBTimer *timer;
BlackboxAttributes blackbox_attrib;
Time lastButtonPressTime; // used for double clicks, when were we clicked
@@ -405,7 +405,7 @@ public:
void shapeEvent(XShapeEvent * /*unused*/);
#endif // SHAPE
- virtual void timeout(void);
+ static void timeout(BlackboxWindow *t);
};
}