From 5bf463ea955bd7e27b1f04a1eefb28ec52309cb8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Jul 2002 09:17:23 +0000 Subject: add the ability to close a window --- util/epist/screen.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/epist/screen.cc') 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; -- cgit v1.2.3