diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-20 10:11:10 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-20 10:11:10 +0000 |
| commit | 5cb52056efcac25dd4b0d3035f860e5b1870bca1 (patch) | |
| tree | 4158163ea7246e557c1657f2803cbf2b9338632b /util/epist/screen.cc | |
| parent | e01cab39e56e5cc9e0dc436983842c050dab1bac (diff) | |
add 'toggleomnipresent' action
Diffstat (limited to 'util/epist/screen.cc')
| -rw-r--r-- | util/epist/screen.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc index d6ce9bbb..ec73aa82 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -221,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; |
