Skip to content

Commit 30f6e5c

Browse files
committed
anybar + holdbar: let windows draw behind the bar when initiating holdbar ref. #459
1 parent 72cd278 commit 30f6e5c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dwm.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4893,6 +4893,12 @@ updatebarpos(Monitor *m)
48934893
for (bar = m->bar; bar; bar = bar->next) {
48944894
if (!bar->showbar)
48954895
continue;
4896+
#if BAR_HOLDBAR_PATCH
4897+
if (m->showbar == 2) {
4898+
bar->by = (bar->topbar ? m->wy : m->wy + m->wh - bar->bh);
4899+
continue;
4900+
}
4901+
#endif // BAR_HOLDBAR_PATCH
48964902
if (bar->topbar)
48974903
m->wy = m->wy + bar->bh + y_pad;
48984904
m->wh -= y_pad + bar->bh;

0 commit comments

Comments
 (0)