From bf3c87c886c810097b7de9d5639e0916987b2185 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Jul 2002 10:18:43 +0000 Subject: [PATCH] added hardcoded bindings for changeWorkspace 1-4 --- util/epist/epist.cc | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) 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(); } -- 2.45.2