From 92864e8d1db97ed3154b4b40a9318dbe26d978be Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Jul 2002 10:06:09 +0000 Subject: [PATCH] add cycling of windows of the same class on all workspaces --- util/epist/actions.hh | 2 ++ util/epist/screen.cc | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/util/epist/actions.hh b/util/epist/actions.hh index 0d3e572b..a441fb41 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -52,6 +52,8 @@ public: nextWindowOfClass, //done prevWindowOfClass, //done + nextWindowOfClassOnAllWorkspaces, //done + prevWindowOfClassOnAllWorkspaces, //done changeWorkspace, //done nextWorkspace, //done diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 422ec056..d6ce9bbb 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -187,6 +187,14 @@ void screen::handleKeypress(const XEvent &e) { cycleWindow(false, false, true); return; + case Action::nextWindowOfClassOnAllWorkspaces: + cycleWindow(true, true, true); + return; + + case Action::prevWindowOfClassOnAllWorkspaces: + cycleWindow(false, true, true); + return; + case Action::changeWorkspace: changeWorkspace(it->number()); return; -- 2.45.2