myvxwm

[fork] my vxwm config (optimised for my T480)
git clone https://git.lukeonline.net/repos/myvxwm
Log | Files | Refs | README | LICENSE

commit 008138a5685fb4e6e0af6b3fd64745659ca4d0fa
parent 55f26fe5af426b6ede32efeefb6eefd8dd8de256
Author: wh1tepearl <wh1tepearl@gmail.com>
Date:   Tue, 17 Feb 2026 19:10:44 +0000

Bug fix

Diffstat:
Mvxwm.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/vxwm.c b/vxwm.c @@ -1850,6 +1850,9 @@ void setlayout(const Arg *arg) { #if INFINITE_TAGS + const Layout *temp_new_layout = (arg && arg->v) ? (Layout *)arg->v : selmon->lt[selmon->sellt ^ 1]; + if (temp_new_layout == selmon->lt[selmon->sellt]) return; + const Layout *old_layout = selmon->lt[selmon->sellt]; #endif if (!arg || !arg->v || arg->v != selmon->lt[selmon->sellt]) @@ -1858,8 +1861,7 @@ setlayout(const Arg *arg) selmon->lt[selmon->sellt] = (Layout *)arg->v; #if INFINITE_TAGS const Layout *new_layout = selmon->lt[selmon->sellt]; -#endif -#if INFINITE_TAGS + if (old_layout->arrange == NULL && new_layout->arrange != NULL) { save_canvas_positions(selmon); homecanvas(NULL);