]> Dogcows Code - chaz/openbox/blobdiff - util/epist/screen.cc
add the ability to close a window
[chaz/openbox] / util / epist / screen.cc
index 0d97b6143a301c661370c96a6ba4bb65e3c44cd4..7c4294a07607fc07d751d0e4df77ee30eedb485f 100644 (file)
@@ -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;
This page took 0.020103 seconds and 4 git commands to generate.