X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=c5a9a312adc28c5c7c84d92c65f6c8d85c7d2967;hb=f89831466220b6219a15fa3e670149191055ba5a;hp=c75194c44cd136333a2bb10728ae070646bb419c;hpb=c88451f0c1e2586a5a06babb69b060bf808c9148;p=chaz%2Fopenbox 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