summaryrefslogtreecommitdiff
path: root/src/blackbox.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-10 18:21:10 +0000
committerDana Jansens <danakj@orodu.net>2002-08-10 18:21:10 +0000
commitf633c5f057f3f19df20a31ee4bb62f27902b7e74 (patch)
treea1e817bf10181f14a825890ada1c1da95a113cab /src/blackbox.hh
parent6e07a64d3306ac26c0cb6bd029356fe1fcee4756 (diff)
allow the user to specify the modmask used to mouse events on windows
Diffstat (limited to 'src/blackbox.hh')
-rw-r--r--src/blackbox.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/blackbox.hh b/src/blackbox.hh
index 6a6a22d1..1efec772 100644
--- a/src/blackbox.hh
+++ b/src/blackbox.hh
@@ -115,6 +115,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 +256,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);