diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-18 11:34:29 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-18 11:34:29 +0000 |
| commit | 77a8e11660edd66279f2d3def6de3768874ba780 (patch) | |
| tree | c384644ec055df2dc0a8954d09b7a2f523044b38 /src/frame.hh | |
| parent | db23fe0584b9d7ece147ef74c7ad6d45ff7ba6fd (diff) | |
can tell where events are coming from!
Diffstat (limited to 'src/frame.hh')
| -rw-r--r-- | src/frame.hh | 6 |
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; |
