summaryrefslogtreecommitdiff
path: root/src/frame.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.hh')
-rw-r--r--src/frame.hh5
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