summaryrefslogtreecommitdiff
path: root/otk/display.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-24 07:37:26 +0000
committerDana Jansens <danakj@orodu.net>2003-01-24 07:37:26 +0000
commit91c7e5c378b1a639c6f5383915ed68b36b7735d4 (patch)
tree896039b1f31ca8a3a41f9ac81e35467247f6001d /otk/display.hh
parent73a776ee90879ea2b42c6e959f781a6600fada80 (diff)
allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released
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; }