From 75b6a5a378966efc09c355109ab42467ddc6d845 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Wed, 14 Aug 2002 04:17:46 +0000 Subject: added the ability to have numeric arguments for the cycle window/workspace functions. eg. Control-Mod1-Down nextWorkspace 6; Control-Mod1-Right nextWorkspace; Would allow some form of relative workspace flipping. It might be much less useful for cycling windows. --- util/epist/screen.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'util/epist/screen.hh') diff --git a/util/epist/screen.hh b/util/epist/screen.hh index 87eeff74..a07831e8 100644 --- a/util/epist/screen.hh +++ b/util/epist/screen.hh @@ -76,11 +76,13 @@ public: void handleKeypress(const XEvent &e); void updateEverything(); - void cycleWindow(const bool forward, const bool allscreens = false, + void cycleWindow(const bool forward, const int increment, + const bool allscreens = false, const bool alldesktops = false, const bool sameclass = false, const std::string &classname = "") const; - void cycleWorkspace(const bool forward, const bool loop = true) const; + void cycleWorkspace(const bool forward, const int increment, + const bool loop = true) const; void changeWorkspace(const int num) const; void toggleShaded(const Window win) const; void execCommand(const std::string &cmd) const; -- cgit v1.2.3