From: Dana Jansens Date: Sat, 20 Jul 2002 10:18:43 +0000 (+0000) Subject: added hardcoded bindings for changeWorkspace 1-4 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=bf3c87c886c810097b7de9d5639e0916987b2185;p=chaz%2Fopenbox added hardcoded bindings for changeWorkspace 1-4 --- diff --git a/util/epist/epist.cc b/util/epist/epist.cc index 32d79d2f..231c51f6 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -124,22 +124,38 @@ epist::epist(char **argv, char *dpy_name, char *rc_file) XKeysymToKeycode(getXDisplay(), XStringToKeysym("O")), Mod1Mask | ControlMask)); - _actions.push_back(Action(Action::sendToWorkspace, + _actions.push_back(Action(Action::changeWorkspace, XKeysymToKeycode(getXDisplay(), XStringToKeysym("1")), Mod1Mask | ControlMask, 0)); - _actions.push_back(Action(Action::sendToWorkspace, + _actions.push_back(Action(Action::changeWorkspace, XKeysymToKeycode(getXDisplay(), XStringToKeysym("2")), Mod1Mask | ControlMask, 1)); - _actions.push_back(Action(Action::sendToWorkspace, + _actions.push_back(Action(Action::changeWorkspace, XKeysymToKeycode(getXDisplay(), XStringToKeysym("3")), Mod1Mask | ControlMask, 2)); - _actions.push_back(Action(Action::sendToWorkspace, + _actions.push_back(Action(Action::changeWorkspace, XKeysymToKeycode(getXDisplay(), XStringToKeysym("4")), Mod1Mask | ControlMask, 3)); + _actions.push_back(Action(Action::sendToWorkspace, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("1")), + Mod1Mask | ControlMask | ShiftMask, 0)); + _actions.push_back(Action(Action::sendToWorkspace, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("2")), + Mod1Mask | ControlMask | ShiftMask, 1)); + _actions.push_back(Action(Action::sendToWorkspace, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("3")), + Mod1Mask | ControlMask | ShiftMask, 2)); + _actions.push_back(Action(Action::sendToWorkspace, + XKeysymToKeycode(getXDisplay(), + XStringToKeysym("4")), + Mod1Mask | ControlMask | ShiftMask, 3)); activateGrabs(); }