From 6f7de7619915ee295db47906c8faf7605cd9f3a0 Mon Sep 17 00:00:00 2001 From: KronikPillow Date: Tue, 28 Jan 2020 17:44:57 +0100 Subject: [PATCH] fixed titlebar not being updated - issue #16 --- dwm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dwm.c b/dwm.c index dabc2fa..11f9e95 100644 --- a/dwm.c +++ b/dwm.c @@ -1369,12 +1369,12 @@ propertynotify(XEvent *e) Window trans; XPropertyEvent *ev = &e->xproperty; - if ((ev->window == root) && (ev->atom == XA_WM_NAME)) + if ((ev->window == root) && (ev->atom == XA_WM_NAME)) { if (!fake_signal()) updatestatus(); - else if (ev->state == PropertyDelete) + } else if (ev->state == PropertyDelete) { return; /* ignore */ - else if ((c = wintoclient(ev->window))) { + } else if ((c = wintoclient(ev->window))) { switch(ev->atom) { default: break; case XA_WM_TRANSIENT_FOR: