From 5b91573e0c01a7ee6e504451c2ef3143709d06a2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Jul 2002 20:06:38 +0000 Subject: [PATCH] implement window resizing --- util/epist/epist.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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")), -- 2.45.2