diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-06 22:07:11 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-06 22:07:11 +0200 |
commit | a67786845515a084a3fc95473c5505d58909ef45 (patch) | |
tree | c65401352ad04b44270a2daf868824da03857b06 | |
parent | e5377b0df3382bf8b0149c2e59568ea08a85e80f (diff) | |
download | jwm-a67786845515a084a3fc95473c5505d58909ef45.tar.gz |
Raise window on next/prev
-rw-r--r-- | src/event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event.c b/src/event.c index 76a9fff..3919c94 100644 --- a/src/event.c +++ b/src/event.c @@ -359,12 +359,14 @@ void HandleKeyPress(const XKeyEvent *event) { break; case KEY_NEXT: FocusNext(); + RaiseClient(GetActiveClient()); break; case KEY_NEXT_STACKED: FocusNextStackedCircular(); break; case KEY_PREV: FocusPrevious(); + RaiseClient(GetActiveClient()); break; case KEY_PREV_STACKED: FocusPreviousStackedCircular(); |