X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=util%2Fepist%2Fscreen.cc;h=ec73aa82e5aa857bc39a583904eba958caee0561;hb=5cb52056efcac25dd4b0d3035f860e5b1870bca1;hp=422ec056b0c97a1946bab5ea5fc4e30e2799206d;hpb=348c8bff112604da741b0e109bda9b5af7672db4;p=chaz%2Fopenbox diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 422ec056..ec73aa82 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; @@ -213,6 +221,13 @@ void screen::handleKeypress(const XEvent &e) { window->lower(); return; + case Action::toggleomnipresent: + if (window->desktop() == 0xffffffff) + window->sendTo(_active_desktop); + else + window->sendTo(0xffffffff); + return; + case Action::toggleshade: window->shade(! window->shaded()); return;