From f89831466220b6219a15fa3e670149191055ba5a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 13 Feb 2003 07:30:11 +0000 Subject: buttons press! --- src/frame.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/frame.hh') diff --git a/src/frame.hh b/src/frame.hh index c75194c4..c5a9a312 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -94,11 +94,13 @@ private: otk::Surface *_close_sur; std::string _layout; // layout of the titlebar + bool _max_press; bool _desk_press; bool _iconify_press; bool _icon_press; bool _close_press; + unsigned int _press_button; // mouse button that started the press FrameGeometry geom; @@ -168,6 +170,9 @@ public: //! Hides the frame void hide(); + void buttonPressHandler(const XButtonEvent &e); + void buttonReleaseHandler(const XButtonEvent &e); + //! Returns the MouseContext for the given window id /*! Returns '-1' if no valid mouse context exists in the frame for the given -- cgit v1.2.3