]> Dogcows Code - chaz/openbox/blobdiff - otk/display.hh
ignore num/caps/scroll lock in events
[chaz/openbox] / otk / display.hh
index 0ebd41402e9d35de965005c249bd5eb18091824e..0fbf2b34bf3dfe80aaf90751c0cbe2c4b5a2f460 100644 (file)
@@ -42,6 +42,12 @@ private:
   //! A list of all possible combinations of keyboard lock masks
   static unsigned int _mask_list[8];
 
+  //! The value of the mask for the NumLock modifier
+  static unsigned int _numLockMask;
+
+  //! The value of the mask for the ScrollLock modifier
+  static unsigned int _scrollLockMask;
+
   //! The number of requested grabs on the display
   static int _grab_count;
 
@@ -97,6 +103,9 @@ public:
   //! Returns if the display has the xinerama extention available
   inline static bool xinerama() { return _xinerama; }
 
+  inline static unsigned int numLockMask() { return _numLockMask; }
+  inline static unsigned int scrollLockMask() { return _scrollLockMask; }
+
   //! Grabs the display
   static void grab();
 
This page took 0.021567 seconds and 4 git commands to generate.