X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fdisplay.hh;h=e8613a04bf928273badc3699b8c1dc87da5f450e;hb=91c7e5c378b1a639c6f5383915ed68b36b7735d4;hp=0879ce32be024109db1fdd60bbae67d301ffa951;hpb=73a776ee90879ea2b42c6e959f781a6600fada80;p=chaz%2Fopenbox 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; }