From: Dana Jansens Date: Sat, 20 Jul 2002 20:06:38 +0000 (+0000) Subject: implement window resizing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5b91573e0c01a7ee6e504451c2ef3143709d06a2;p=chaz%2Fopenbox implement window resizing --- diff --git a/util/epist/epist.cc b/util/epist/epist.cc index 13f663c9..7f874634 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -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")),