summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-12-15 21:53:35 +0000
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-12-15 21:53:35 +0000
commitfc41c696bbaaaa51d6fb4d0ac12f0f9d0d2016a1 (patch)
tree94b749740faeab300724288191e82ad7b9684525
parentbfa12589c768f9c3002364a4409a0379ffb2d578 (diff)
remove redundant bar code
-rw-r--r--dwm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index a0ec377..f9fbe75 100644
--- a/dwm.c
+++ b/dwm.c
@@ -246,7 +246,6 @@ static pid_t winpid(Window w);
static const char broken[] = "broken";
static int screen;
static int sw, sh; /* X display screen geometry width, height */
-static int bh; /* bar height */
static int (*xerrorxlib)(Display *, XErrorEvent *);
static unsigned int numlockmask = 0;
static void (*handler[LASTEvent]) (XEvent *) = {
@@ -605,7 +604,6 @@ configurenotify(XEvent *e)
sw = ev->width;
sh = ev->height;
if (updategeom() || dirty) {
- drw_resize(drw, sw, bh);
for (m = mons; m; m = m->next) {
for (c = m->clients; c; c = c->next)
if (c->isfullscreen)