Handle _NET_WM_NAME changes.

This fixes the problem where cwm's window menu wouldn't show Firefox's current
window title if it contains non-ASCII characters.

OK okan@
This commit is contained in:
tim 2019-04-29 19:02:21 +00:00
parent 9a7528f5b9
commit 3f1caab46a

View File

@ -207,7 +207,8 @@ xev_handle_propertynotify(XEvent *ee)
group_movetogroup(cc, cc->gc->num); group_movetogroup(cc, cc->gc->num);
break; break;
default: default:
/* do nothing */ if (e->atom == ewmh[_NET_WM_NAME])
client_setname(cc);
break; break;
} }
} else { } else {