[wiki] [sites] [dwm][patches][layoutmonitorrules] Fix layout selection for pertag || Chris Down
commit c5ca321450fe59424dcf9155790b6c789ed3dfac
Author: Chris Down <chris_AT_chrisdown.name>
Date: Tue Dec 21 03:04:43 2021 +0000
[dwm][patches][layoutmonitorrules] Fix layout selection for pertag
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
index 62281cca..ed2abc10 100644
--- a/dwm.suckless.org/patches/layoutmonitorrules/dwm-layoutmonitorrules-pertag-20211216-a786211d6cb7.diff
+++ b/dwm.suckless.org/patches/layoutmonitorrules/dwm-layoutmonitorrules-pertag-20211216-a786211d6cb7.diff
_AT_@ -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
_AT_@ -111,6 +111,13 @@ typedef struct {
_AT_@ -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;
Received on Tue Dec 21 2021 - 04:05:06 CET
This archive was generated by hypermail 2.3.0
: Tue Dec 21 2021 - 04:12:43 CET