X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fblackbox.hh;h=52e0e653c923bd26da35f11fe4f30f7e94c2ceb8;hb=db451d95bf97b8a8e995f031ac98da50606fd3a0;hp=6a6a22d1c3fc5d22fa9e5ed77a51a38147f25998;hpb=e18ff901fc7236e3008266f0a09048e6905de724;p=chaz%2Fopenbox diff --git a/src/blackbox.hh b/src/blackbox.hh index 6a6a22d1..52e0e653 100644 --- a/src/blackbox.hh +++ b/src/blackbox.hh @@ -47,11 +47,10 @@ extern "C" { #include #include -#include "i18n.hh" -#include "BaseDisplay.hh" -#include "Configuration.hh" -#include "Timer.hh" -#include "XAtom.hh" +#include "basedisplay.hh" +#include "configuration.hh" +#include "timer.hh" +#include "xatom.hh" #define AttribShaded (1l << 0) #define AttribMaxHoriz (1l << 1) @@ -115,6 +114,8 @@ private: timeval auto_raise_delay; unsigned long cache_life, cache_max; std::string titlebar_layout; + unsigned int mod_mask; // modifier mask used for window-mouse interaction + #ifdef XINERAMA bool xinerama_placement, xinerama_maximize, xinerama_snap; @@ -254,6 +255,9 @@ public: { return cursor.ul_angle; } inline Cursor getUpperRightAngleCursor(void) const { return cursor.ur_angle; } + + inline unsigned int getMouseModMask(void) const + { return resource.mod_mask; } void setFocusedWindow(BlackboxWindow *win); void setChangingWindow(BlackboxWindow *win);