fixed titlebar not being updated - issue #16

This commit is contained in:
KronikPillow 2020-01-28 17:44:57 +01:00
parent 236c6a7f2f
commit 6f7de76199

6
dwm.c
View file

@ -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: