X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=5268512f44c9c9fe8f6d7ff3b997b37a67d42c0e;hb=77a8e11660edd66279f2d3def6de3768874ba780;hp=85c863e78e7dc69ab9841f76cab0162841dc3b64;hpb=db23fe0584b9d7ece147ef74c7ad6d45ff7ba6fd;p=chaz%2Fopenbox 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;