diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/event.c | 4 | ||||
-rw-r--r-- | src/taskbar.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/event.c b/src/event.c index ec0d6b5..222764f 100644 --- a/src/event.c +++ b/src/event.c @@ -362,16 +362,12 @@ void HandleKeyPress(const XKeyEvent *event) { break; case KEY_NEXT: FocusNext(); - np = GetActiveClient(); - if (np != NULL) RaiseClient(np); break; case KEY_NEXT_STACKED: FocusNextStackedCircular(); break; case KEY_PREV: FocusPrevious(); - np = GetActiveClient(); - if (np != NULL) RaiseClient(np); break; case KEY_PREV_STACKED: FocusPreviousStackedCircular(); diff --git a/src/taskbar.c b/src/taskbar.c index f0a72fe..8eb45d3 100644 --- a/src/taskbar.c +++ b/src/taskbar.c @@ -604,7 +604,7 @@ void FocusNext() { } if(tp) { - RestoreClient(tp->client, 1); + RestoreClient(tp->client, 0); FocusClient(tp->client); } @@ -641,7 +641,7 @@ void FocusPrevious() { } if(tp) { - RestoreClient(tp->client, 1); + RestoreClient(tp->client, 0); FocusClient(tp->client); } |