X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.hh;h=b4e01effe74b095e29fba7f39fe31e79ac9cc6fa;hb=a923a55002440ea0bdc291169d7102e1d45953cf;hp=79c018fdd71e24d68967060e281b69dbe512d69c;hpb=b9cac2146e1dfe54cb6c0ce647d6c7d58d17de54;p=chaz%2Fopenbox diff --git a/src/client.hh b/src/client.hh index 79c018fd..b4e01eff 100644 --- a/src/client.hh +++ b/src/client.hh @@ -9,6 +9,10 @@ extern "C" { #include + +#ifdef SHAPE +#include +#endif // SHAPE } #include @@ -89,7 +93,8 @@ public: Decor_Border = 1 << 2, //!< Display a border Decor_Iconify = 1 << 3, //!< Display an iconify button Decor_Maximize = 1 << 4, //!< Display a maximize button - Decor_Close = 1 << 5 //!< Display a close button + Decor_Sticky = 1 << 5, //!< Display a sticky button + Decor_Close = 1 << 6 //!< Display a close button }; //! Holds a bitmask of OBClient::Decoration values typedef unsigned char DecorationFlags; @@ -431,6 +436,10 @@ public: //! Processes a client message XEvent for the window and causes an action //! or whatever was specified to occur void update(const XClientMessageEvent &e); +#if defined(SHAPE) || defined(DOXYGEN_IGNORE) + //! Updates the client's shape status + void update(const XShapeEvent &e); +#endif //! Changes the stored positions and size of the OBClient window /*!