mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-08 12:14:50 +00:00
Update barheight
This commit is contained in:
parent
424808cd19
commit
168d6bf045
@ -1,15 +1,15 @@
|
|||||||
From 225ce9045d0d2f101a33a61d741b466a240f30b8 Mon Sep 17 00:00:00 2001
|
From e70e53575b313ce1d63052795ac5722ee7e92d8a Mon Sep 17 00:00:00 2001
|
||||||
From: oak <oak@petrifiedoak.com>
|
From: oak <oak@petrifiedoak.com>
|
||||||
Date: Fri, 5 Apr 2024 14:29:10 +0200
|
Date: Thu, 16 May 2024 13:00:18 +0200
|
||||||
Subject: [PATCH] port barheight patch from dwm
|
Subject: [PATCH] Implement barheight patch
|
||||||
|
|
||||||
---
|
---
|
||||||
config.def.h | 1 +
|
config.def.h | 1 +
|
||||||
dwl.c | 2 +-
|
dwl.c | 2 +-
|
||||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/config.def.h b/config.def.h
|
diff --git a/config.def.h b/config.def.h
|
||||||
index 8fb2d68..2a90092 100644
|
index b09d85b..6d467c3 100644
|
||||||
--- a/config.def.h
|
--- a/config.def.h
|
||||||
+++ b/config.def.h
|
+++ b/config.def.h
|
||||||
@@ -17,6 +17,7 @@ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You ca
|
@@ -17,6 +17,7 @@ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You ca
|
||||||
@ -21,10 +21,10 @@ index 8fb2d68..2a90092 100644
|
|||||||
static const char *fontattrs = "dpi=96";
|
static const char *fontattrs = "dpi=96";
|
||||||
static pixman_color_t normbarfg = { 0xbbbb, 0xbbbb, 0xbbbb, 0xffff };
|
static pixman_color_t normbarfg = { 0xbbbb, 0xbbbb, 0xbbbb, 0xffff };
|
||||||
diff --git a/dwl.c b/dwl.c
|
diff --git a/dwl.c b/dwl.c
|
||||||
index 056718d..4247f4c 100644
|
index 2145e55..770c94f 100644
|
||||||
--- a/dwl.c
|
--- a/dwl.c
|
||||||
+++ b/dwl.c
|
+++ b/dwl.c
|
||||||
@@ -2745,7 +2745,7 @@ setup(void)
|
@@ -2664,7 +2664,7 @@ setup(void)
|
||||||
die("Could not load font");
|
die("Could not load font");
|
||||||
|
|
||||||
lrpad = font->height;
|
lrpad = font->height;
|
||||||
@ -33,3 +33,6 @@ index 056718d..4247f4c 100644
|
|||||||
|
|
||||||
status_event_source = wl_event_loop_add_fd(wl_display_get_event_loop(dpy),
|
status_event_source = wl_event_loop_add_fd(wl_display_get_event_loop(dpy),
|
||||||
STDIN_FILENO, WL_EVENT_READABLE, status_in, NULL);
|
STDIN_FILENO, WL_EVENT_READABLE, status_in, NULL);
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user