diff options
author | KronikPillow <kronikpillow@gmail.com> | 2020-01-28 17:44:57 +0100 |
---|---|---|
committer | KronikPillow <kronikpillow@gmail.com> | 2020-01-30 18:18:23 +0100 |
commit | 6f7de7619915ee295db47906c8faf7605cd9f3a0 (patch) | |
tree | 09cd8ac0f826a721f7b176366ab5b62c6ec887b5 /dwm.c | |
parent | 236c6a7f2f9a480cfd7bb39a00dca40984830b01 (diff) |
fixed titlebar not being updated - issue #16
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |