mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 11:44:51 +00:00
Add: doesn't show the title bar.
This commit is contained in:
parent
561ff342dd
commit
a390fc6003
5
patches/notitle/README.md
Normal file
5
patches/notitle/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Description
|
||||
doesn't show the title.
|
||||
|
||||
Authors
|
||||
- [pixel](https://codeberg.org/pi66/)
|
20
patches/notitle/notitle.patch
Normal file
20
patches/notitle/notitle.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/dwl.c b/dwl.c
|
||||
index bf340d8..151aa99 100644
|
||||
--- a/dwl.c
|
||||
+++ b/dwl.c
|
||||
@@ -1613,15 +1613,9 @@ drawbar(Monitor *m)
|
||||
|
||||
if ((w = m->b.width - tw - x) > m->b.height) {
|
||||
if (c) {
|
||||
- drwl_setscheme(m->drw, colors[m == selmon ? SchemeSel : SchemeNorm]);
|
||||
- drwl_text(m->drw, x, 0, w, m->b.height, m->lrpad / 2, client_get_title(c), 0);
|
||||
- if (c && c->isfloating)
|
||||
- drwl_rect(m->drw, x + boxs, boxs, boxw, boxw, 0, 0);
|
||||
- } else {
|
||||
drwl_setscheme(m->drw, colors[SchemeNorm]);
|
||||
drwl_rect(m->drw, x, 0, w, m->b.height, 1, 1);
|
||||
}
|
||||
- }
|
||||
|
||||
wlr_scene_buffer_set_dest_size(m->scene_buffer,
|
||||
m->b.real_width, m->b.real_height);
|
Loading…
x
Reference in New Issue
Block a user