diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-20 18:16:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-20 18:16:52 +0000 |
| commit | f7a41999bfa20750f192d7fa5447bb133451db76 (patch) | |
| tree | b7f183c54de9b6862468ca632f4e07877d81b5c1 /util/epist/screen.cc | |
| parent | a16ae8733983b7e4c7733512cf1c5b9f2cb0b2db (diff) | |
implement moveWindowUp/Down/Left/Right
Diffstat (limited to 'util/epist/screen.cc')
| -rw-r--r-- | util/epist/screen.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 3f78c51f..cd749aee 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -245,6 +245,22 @@ void screen::handleKeypress(const XEvent &e) { window->sendTo(0xffffffff); return; + case Action::moveWindowUp: + window->move(0, -it->number()); + return; + + case Action::moveWindowDown: + window->move(0, it->number()); + return; + + case Action::moveWindowLeft: + window->move(-it->number(), 0); + return; + + case Action::moveWindowRight: + window->move(it->number(), 0); + return; + case Action::toggleshade: window->shade(! window->shaded()); return; |
