X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.hh;h=5ccf5fd51efd8c518bdd517bc3a5ef2859c13983;hb=c4a1fac49da32250dc4567880b385feb7feaa908;hp=ba158fc1adb9d252632c3f33842fbc53e8268c91;hpb=9d5865a1603733e62fda7c8d61024cb05bf6792c;p=chaz%2Fopenbox diff --git a/src/client.hh b/src/client.hh index ba158fc1..5ccf5fd5 100644 --- a/src/client.hh +++ b/src/client.hh @@ -93,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; @@ -118,9 +119,11 @@ public: }; //! The event mask to grab on client windows - static const long event_mask = PropertyChangeMask | FocusChangeMask | - StructureNotifyMask; + static const long event_mask = PropertyChangeMask | FocusChangeMask; + //! The number of unmap events to ignore on the window + int ignore_unmaps; + private: //! The screen number on which the client resides int _screen;