From 77a8e11660edd66279f2d3def6de3768874ba780 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 18 Dec 2002 11:34:29 +0000 Subject: can tell where events are coming from! --- src/frame.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/frame.hh') 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; -- cgit v1.2.3