]> Dogcows Code - chaz/openbox/blobdiff - src/frame.hh
can tell where events are coming from!
[chaz/openbox] / src / frame.hh
index 85c863e78e7dc69ab9841f76cab0162841dc3b64..5268512f44c9c9fe8f6d7ff3b997b37a67d42c0e 100644 (file)
@@ -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;
This page took 0.023287 seconds and 4 git commands to generate.