diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-20 09:17:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-20 09:17:23 +0000 |
| commit | 5bf463ea955bd7e27b1f04a1eefb28ec52309cb8 (patch) | |
| tree | fb22192458db019ece0791df16ec45ebdab35fc2 /util/epist/screen.cc | |
| parent | c9be3ee06121bc4d0dec3586918607f18dabdb89 (diff) | |
add the ability to close a window
Diffstat (limited to 'util/epist/screen.cc')
| -rw-r--r-- | util/epist/screen.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 0d97b614..7c4294a0 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -175,6 +175,10 @@ void screen::handleKeypress(const XEvent &e) { XWindow *window = *_active; switch (it->type()) { + case Action::close: + window->close(); + return; + case Action::toggleshade: window->shade(! window->shaded()); return; |
