summaryrefslogtreecommitdiff
path: root/otk/display.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/display.hh')
-rw-r--r--otk/display.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/otk/display.hh b/otk/display.hh
index 0879ce32..e8613a04 100644
--- a/otk/display.hh
+++ b/otk/display.hh
@@ -47,6 +47,9 @@ private:
//! The value of the mask for the ScrollLock modifier
unsigned int _scroll_lock_mask;
+ //! The key codes for the modifier keys
+ XModifierKeymap *_modmap;
+
//! The number of requested grabs on the display
int _grab_count;
@@ -102,6 +105,7 @@ public:
inline unsigned int numLockMask() const { return _num_lock_mask; }
inline unsigned int scrollLockMask() const { return _scroll_lock_mask; }
+ const XModifierKeymap *modifierMap() const { return _modmap; }
inline ::Display* operator*() const { return _display; }