summaryrefslogtreecommitdiff
path: root/util/epist/screen.hh
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-08-14 04:17:46 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-08-14 04:17:46 +0000
commit75b6a5a378966efc09c355109ab42467ddc6d845 (patch)
tree911b30fad74495428785b8192da3a5738626715f /util/epist/screen.hh
parentef66d63b422bd7dc6de9d4dd28b7f7e7c0624e05 (diff)
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.
Diffstat (limited to 'util/epist/screen.hh')
-rw-r--r--util/epist/screen.hh6
1 files changed, 4 insertions, 2 deletions
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;