sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit c5ca321450fe59424dcf9155790b6c789ed3dfac
parent 5beacc2576ed71bc65f033b72838c9564994891d
Author: Chris Down <chris@chrisdown.name>
Date:   Tue, 21 Dec 2021 03:04:43 +0000

[dwm][patches][layoutmonitorrules] Fix layout selection for pertag

Diffstat:
Mdwm.suckless.org/patches/layoutmonitorrules/dwm-layoutmonitorrules-pertag-20211216-a786211d6cb7.diff | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dwm.suckless.org/patches/layoutmonitorrules/dwm-layoutmonitorrules-pertag-20211216-a786211d6cb7.diff b/dwm.suckless.org/patches/layoutmonitorrules/dwm-layoutmonitorrules-pertag-20211216-a786211d6cb7.diff @@ -15,7 +15,7 @@ index a2ac963..9af5393 100644 /* symbol arrange function */ { "[]=", tile }, /* first entry is default */ diff --git dwm.c dwm.c -index 5eeb496..f83a555 100644 +index 5eeb496..b71cac9 100644 --- dwm.c +++ dwm.c @@ -111,6 +111,13 @@ typedef struct { @@ -59,7 +59,7 @@ index 5eeb496..f83a555 100644 + + if (selmon->mw >= lmr->mw && + selmon->mh >= lmr->mh && -+ selmon->pertag->sellts[t] == lmr->layout) ++ selmon->lt[selmon->pertag->sellts[t]] == &layouts[lmr->layout]) + { + new_mfact = lmr->mfact; + new_nmaster = lmr->nmaster;