]> Dogcows Code - chaz/openbox/commitdiff
added hardcoded bindings for changeWorkspace 1-4
authorDana Jansens <danakj@orodu.net>
Sat, 20 Jul 2002 10:18:43 +0000 (10:18 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 20 Jul 2002 10:18:43 +0000 (10:18 +0000)
util/epist/epist.cc

index 32d79d2fdb0091cde9f6185737941d736d8ac0c5..231c51f69eca1864a245c0f8d9b6ce17f2c9ba0a 100644 (file)
@@ -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();
 }
 
This page took 0.024926 seconds and 4 git commands to generate.