From a76fb54d790aef6c9a06b1adee23039c659db535 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Fri, 28 May 2021 14:39:46 +0200 Subject: [PATCH] focusadjacenttag: for correctness should probably also update current desktop when EWMH patch is enabled --- patch/focusadjacenttag.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/patch/focusadjacenttag.c b/patch/focusadjacenttag.c index d6a8e7f..4183a46 100644 --- a/patch/focusadjacenttag.c +++ b/patch/focusadjacenttag.c @@ -35,6 +35,9 @@ viewtoleft(const Arg *arg) #endif // pertagview focus(NULL); arrange(selmon); + #if BAR_EWMHTAGS_PATCH + updatecurrentdesktop(); + #endif // BAR_EWMHTAGS_PATCH } } @@ -51,6 +54,9 @@ viewtoright(const Arg *arg) #endif // pertagview focus(NULL); arrange(selmon); + #if BAR_EWMHTAGS_PATCH + updatecurrentdesktop(); + #endif // BAR_EWMHTAGS_PATCH } } @@ -68,6 +74,9 @@ tagandviewtoleft(const Arg *arg) #endif // pertagview focus(selmon->sel); arrange(selmon); + #if BAR_EWMHTAGS_PATCH + updatecurrentdesktop(); + #endif // BAR_EWMHTAGS_PATCH } } @@ -85,5 +94,8 @@ tagandviewtoright(const Arg *arg) #endif // pertagview focus(selmon->sel); arrange(selmon); + #if BAR_EWMHTAGS_PATCH + updatecurrentdesktop(); + #endif // BAR_EWMHTAGS_PATCH } } \ No newline at end of file