diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4284,6 +4284,10 @@ updatebarpos(Monitor *m) for (bar = m->bar; bar; bar = bar->next) { bar->bx = m->wx + x_pad; + #if BAR_ANYBAR_PATCH && !BAR_ANYBAR_MANAGE_WIDTH_PATCH + if (bar->external) + continue; + #endif // BAR_ANYBAR_PATCH | BAR_ANYBAR_MANAGE_WIDTH_PATCH bar->bw = m->ww - 2 * x_pad; } @@ -4316,9 +4320,8 @@ updatebarpos(Monitor *m) if (bar->topbar) m->wy = m->wy + bar->bh + y_pad; m->wh -= y_pad + bar->bh; - } - for (bar = m->bar; bar; bar = bar->next) bar->by = (bar->topbar ? m->wy - bar->bh : m->wy + m->wh); + } } void |
