mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-26 09:44:21 +00:00
Update patches/decklayout/decklayout.patch
Trailing whitespace fix-ups.
This commit is contained in:
parent
f9b84a3241
commit
1047827ea5
@ -16,7 +16,7 @@ index 95c2afa..cc846eb 100644
|
|||||||
{ "[]=", tile },
|
{ "[]=", tile },
|
||||||
{ "><>", NULL }, /* no layout function means floating behavior */
|
{ "><>", NULL }, /* no layout function means floating behavior */
|
||||||
{ "[M]", monocle },
|
{ "[M]", monocle },
|
||||||
+ { "[E]", deck },
|
+ { "[E]", deck },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* monitors */
|
/* monitors */
|
||||||
@ -67,14 +67,14 @@ index 12f441e..227004f 100644
|
|||||||
+ mw = m->w.width;
|
+ mw = m->w.width;
|
||||||
+
|
+
|
||||||
+ /* update layout symbol with number of stack windows */
|
+ /* update layout symbol with number of stack windows */
|
||||||
+ /* use the following rules to count only the windows on the deck
|
+ /* use the following rules to count only the windows on the deck
|
||||||
+ if (n > m->nmaster)
|
+ if (n > m->nmaster)
|
||||||
+ snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n - m->nmaster);
|
+ snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n - m->nmaster);
|
||||||
+ else
|
+ else
|
||||||
+ snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n); */
|
+ snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n); */
|
||||||
+
|
+
|
||||||
+ /* or this one to count all windows on the tag */
|
+ /* or this one to count all windows on the tag */
|
||||||
+ snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n);
|
+ snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n);
|
||||||
+
|
+
|
||||||
+ i = my = 0;
|
+ i = my = 0;
|
||||||
+ wl_list_for_each(c, &clients, link) {
|
+ wl_list_for_each(c, &clients, link) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user