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; Window trans;
XPropertyEvent *ev = &e->xproperty; 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()) if (!fake_signal())
updatestatus(); updatestatus();
else if (ev->state == PropertyDelete) } else if (ev->state == PropertyDelete) {
return; /* ignore */ return; /* ignore */
else if ((c = wintoclient(ev->window))) { } else if ((c = wintoclient(ev->window))) {
switch(ev->atom) { switch(ev->atom) {
default: break; default: break;
case XA_WM_TRANSIENT_FOR: case XA_WM_TRANSIENT_FOR: