]> Dogcows Code - chaz/openbox/blobdiff - util/epist/screen.hh
added the ability to have numeric arguments for the cycle window/workspace functions.
[chaz/openbox] / util / epist / screen.hh
index 87eeff74807154ef824f6e64d9be806f116fc597..a07831e805af8ba06839f5fab7aa7fa3f27d447b 100644 (file)
@@ -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;
This page took 0.022426 seconds and 4 git commands to generate.