add cycling of windows of the same class on all workspaces

This commit is contained in:
Dana Jansens 2002-07-20 10:06:09 +00:00
parent 348c8bff11
commit 92864e8d1d
2 changed files with 10 additions and 0 deletions

View file

@ -52,6 +52,8 @@ public:
nextWindowOfClass, //done
prevWindowOfClass, //done
nextWindowOfClassOnAllWorkspaces, //done
prevWindowOfClassOnAllWorkspaces, //done
changeWorkspace, //done
nextWorkspace, //done

View file

@ -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;