diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-13 07:30:11 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-13 07:30:11 +0000 |
| commit | f89831466220b6219a15fa3e670149191055ba5a (patch) | |
| tree | 28efa758b6f1731754682664f1f1a1829274fb44 /src/frame.hh | |
| parent | c88451f0c1e2586a5a06babb69b060bf808c9148 (diff) | |
buttons press!
Diffstat (limited to 'src/frame.hh')
| -rw-r--r-- | src/frame.hh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
