mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-26 09:44:21 +00:00
fix (barconfig): segfault when opening clients
This commit is contained in:
parent
09e674f5fe
commit
71eb4f8cf4
@ -13,9 +13,7 @@ display on the bar and in which order:
|
||||
**NOTE**: This patch is a dwl port of the [original](https://dwm.suckless.org/patches/barconfig/) barconfig patch for dwm.
|
||||
|
||||
### Known Issues With Patch
|
||||
Putting the tags after the '|' separator prevents tags 1 to 7 from being displayed. I do not have any plans
|
||||
to look into this, as I ported this patch for the sole purpose of having the option to omit the layout symbol from
|
||||
the bar.
|
||||
Changing the location of the tags breaks the tag button presses (the buttons expect the click in the usual location of the tags). I do not have any plans to look into this, as I ported this patch for the sole purpose of having the option to omit the layout symbol from the bar.
|
||||
|
||||
### Download
|
||||
- [0.8](/dwl/dwl-patches/raw/branch/main/patches/barconfig/barconfig.patch)
|
||||
|
||||
@ -49,7 +49,7 @@ index bf340d8..f0d72cf 100644
|
||||
Client *c;
|
||||
Buffer *buf;
|
||||
|
||||
@@ -1581,48 +1581,98 @@ drawbar(Monitor *m)
|
||||
@@ -1581,48 +1581,99 @@ drawbar(Monitor *m)
|
||||
if (!(buf = bufmon(m)))
|
||||
return;
|
||||
|
||||
@ -152,9 +152,10 @@ index bf340d8..f0d72cf 100644
|
||||
+ occ |= c->tags;
|
||||
+ if (c->isurgent)
|
||||
+ urg |= c->tags;
|
||||
+
|
||||
+ c = focustop(m);
|
||||
+ }
|
||||
+
|
||||
+ c = focustop(m);
|
||||
+
|
||||
+ /* tags */
|
||||
+ if (moveright) {
|
||||
+ tw = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user