]> Dogcows Code - chaz/openbox/commitdiff
implement window resizing
authorDana Jansens <danakj@orodu.net>
Sat, 20 Jul 2002 20:06:38 +0000 (20:06 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 20 Jul 2002 20:06:38 +0000 (20:06 +0000)
util/epist/epist.cc

index 13f663c92c3bd695f8e86b939a08992207f51129..7f8746342101387909dd4b98ad8a55705b795464 100644 (file)
@@ -134,6 +134,22 @@ epist::epist(char **argv, char *dpy_name, char *rc_file)
                            XKeysymToKeycode(getXDisplay(),
                                              XStringToKeysym("Right")),
                            Mod1Mask | ControlMask, 1));
+  _actions.push_back(Action(Action::resizeWindowHeight,
+                           XKeysymToKeycode(getXDisplay(),
+                                             XStringToKeysym("Up")),
+                           ShiftMask | Mod1Mask | ControlMask, -1));
+  _actions.push_back(Action(Action::resizeWindowHeight,
+                           XKeysymToKeycode(getXDisplay(),
+                                             XStringToKeysym("Down")),
+                           ShiftMask | Mod1Mask | ControlMask, 1));
+  _actions.push_back(Action(Action::resizeWindowWidth,
+                           XKeysymToKeycode(getXDisplay(),
+                                             XStringToKeysym("Left")),
+                           ShiftMask | Mod1Mask | ControlMask, -1));
+  _actions.push_back(Action(Action::resizeWindowWidth,
+                           XKeysymToKeycode(getXDisplay(),
+                                             XStringToKeysym("Right")),
+                           ShiftMask | Mod1Mask | ControlMask, 1));
   _actions.push_back(Action(Action::iconify,
                            XKeysymToKeycode(getXDisplay(),
                                              XStringToKeysym("I")),
This page took 0.022362 seconds and 4 git commands to generate.