]> Dogcows Code - chaz/openbox/commitdiff
Handle all combinations of the lock modifiers on a keypress.
authorScott Moynes <smoynes@nexus.carleton.ca>
Sun, 21 Jul 2002 22:34:38 +0000 (22:34 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Sun, 21 Jul 2002 22:34:38 +0000 (22:34 +0000)
This should be a rc file option once we have one.

util/epist/epist.cc

index 6d122807c06d642dc06acd73ed5965955c43fd45..a97b1f775e6b57672cf74ee92f740bc199748cd8 100644 (file)
@@ -58,7 +58,7 @@ using std::string;
 
 epist::epist(char **argv, char *dpy_name, char *rc_file)
   : BaseDisplay(argv[0], dpy_name) {
-
+    
   _argv = argv;
 
   if (rc_file)
@@ -227,8 +227,7 @@ void epist::activateGrabs() {
     ActionList::const_iterator ait, end = _actions.end();
 
     for(ait = _actions.begin(); ait != end; ++ait) {
-      XGrabKey(getXDisplay(), ait->keycode(), ait->modifierMask(),
-               (*scrit)->rootWindow(), False, GrabModeAsync, GrabModeAsync);
+      (*scrit)->grabKey(ait->keycode(), ait->modifierMask());
     }
   }
 }
This page took 0.027161 seconds and 4 git commands to generate.