summaryrefslogtreecommitdiff
path: root/util/epist/screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-21 23:57:03 +0000
committerDana Jansens <danakj@orodu.net>2002-08-21 23:57:03 +0000
commitcc5bde6d00892cf27fcb6e4e0b4974bcecca265f (patch)
tree1573f740857df62f526e768cd5f7d89b2218a71f /util/epist/screen.cc
parentd181f1ad05332c42eb090384666171a142f54b0c (diff)
toggledecor almost done
some code cleanups/fixes
Diffstat (limited to 'util/epist/screen.cc')
-rw-r--r--util/epist/screen.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc
index 39eb4895..1bd7ad5d 100644
--- a/util/epist/screen.cc
+++ b/util/epist/screen.cc
@@ -321,6 +321,10 @@ void screen::handleKeypress(const XEvent &e) {
case Action::toggleMaximizeFull:
window->toggleMaximize(XWindow::Max_Full);
return;
+
+ case Action::toggleDecorations:
+ window->decorate(! window->decorated());
+ return;
default:
assert(false); // unhandled action type!