aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-06 22:07:11 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-06 22:07:11 +0200
commita67786845515a084a3fc95473c5505d58909ef45 (patch)
treec65401352ad04b44270a2daf868824da03857b06 /src
parente5377b0df3382bf8b0149c2e59568ea08a85e80f (diff)
downloadjwm-a67786845515a084a3fc95473c5505d58909ef45.tar.gz
Raise window on next/prev
Diffstat (limited to 'src')
-rw-r--r--src/event.c2
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();