summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorKronikPillow <kronikpillow@gmail.com>2020-01-28 17:44:57 +0100
committerKronikPillow <kronikpillow@gmail.com>2020-01-30 18:18:23 +0100
commit6f7de7619915ee295db47906c8faf7605cd9f3a0 (patch)
tree09cd8ac0f826a721f7b176366ab5b62c6ec887b5 /dwm.c
parent236c6a7f2f9a480cfd7bb39a00dca40984830b01 (diff)
fixed titlebar not being updated - issue #16
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c6
1 files 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: