]> Dogcows Code - chaz/openbox/blobdiff - otk/display.hh
allow python to grab the keyboard. have release events go to the grabs callback....
[chaz/openbox] / otk / display.hh
index 0879ce32be024109db1fdd60bbae67d301ffa951..e8613a04bf928273badc3699b8c1dc87da5f450e 100644 (file)
@@ -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; }
 
This page took 0.022444 seconds and 4 git commands to generate.