all repos — openbox @ f754eb0ea4de43f4d99861e4c8311f7a57b87a11

openbox fork - make it a bit more like ryudo

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
commit

f754eb0ea4de43f4d99861e4c8311f7a57b87a11

parent

296c12c0361d64ad612d22154440ad4046938300

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M util/epist/epist.ccutil/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()); } } }