summaryrefslogtreecommitdiff
path: root/src/frame.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.hh')
-rw-r--r--src/frame.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/frame.hh b/src/frame.hh
index 85c863e7..5268512f 100644
--- a/src/frame.hh
+++ b/src/frame.hh
@@ -29,11 +29,13 @@ namespace ob {
parent with the SubstructureRedirectMask so that structure events for the
client are sent to the window manager.
*/
-class OBFrame : public otk::OtkWidget {
+class OBFrame : public otk::OtkWidget, public OBWidget {
public:
//! The event mask to grab on frame windows
- static const long event_mask = EnterWindowMask | LeaveWindowMask;
+ static const long event_mask = EnterWindowMask | LeaveWindowMask |
+ ButtonPressMask | ButtonReleaseMask |
+ ButtonMotionMask;
private:
OBClient *_client;