Handle all combinations of the lock modifiers on a keypress. This should be a rc file option once we have one.
Scott Moynes smoynes@nexus.carleton.ca
1 files changed,
2 insertions(+),
3 deletions(-)
jump to
M
util/epist/epist.cc
→
util/epist/epist.cc
@@ -58,7 +58,7 @@
epist::epist(char **argv, char *dpy_name, char *rc_file) : BaseDisplay(argv[0], dpy_name) { - + _argv = argv; if (rc_file)@@ -227,8 +227,7 @@ for (scrit = _screens.begin(); scrit != scrend; ++scrit) {
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()); } } }