diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-08-14 04:17:46 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-08-14 04:17:46 +0000 |
| commit | 75b6a5a378966efc09c355109ab42467ddc6d845 (patch) | |
| tree | 911b30fad74495428785b8192da3a5738626715f /util/epist/screen.hh | |
| parent | ef66d63b422bd7dc6de9d4dd28b7f7e7c0624e05 (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.hh | 6 |
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; |
