summaryrefslogtreecommitdiffhomepage
path: root/patch/focusadjacenttag.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-05-28 14:39:46 +0200
committerbakkeby <[email protected]>2021-05-28 14:39:46 +0200
commita76fb54d790aef6c9a06b1adee23039c659db535 (patch)
treeb7bc43197b895aeb2e1cadeef0a80d84613de757 /patch/focusadjacenttag.c
parent75b0c4f86b245d8aaca0f1d13ce9653483c2976b (diff)
downloaddwm-flexipatch-a76fb54d790aef6c9a06b1adee23039c659db535.tar.gz
dwm-flexipatch-a76fb54d790aef6c9a06b1adee23039c659db535.zip
focusadjacenttag: for correctness should probably also update current desktop when EWMH patch is enabled
Diffstat (limited to 'patch/focusadjacenttag.c')
-rw-r--r--patch/focusadjacenttag.c12
1 files changed, 12 insertions, 0 deletions
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