diff options
author | tim <tim> | 2019-04-29 19:02:21 +0000 |
---|---|---|
committer | tim <tim> | 2019-04-29 19:02:21 +0000 |
commit | 3f1caab46a090ee48879bd5de43774dd285f2cbb (patch) | |
tree | 7a54520ccbc00a07fbd2ee3fee008fbae01924a9 | |
parent | 9a7528f5b99bd234f724aa229cbf75fb6a813282 (diff) | |
download | cwm-3f1caab46a090ee48879bd5de43774dd285f2cbb.tar.gz cwm-3f1caab46a090ee48879bd5de43774dd285f2cbb.tar.xz cwm-3f1caab46a090ee48879bd5de43774dd285f2cbb.zip |
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@
-rw-r--r-- | xevents.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c index 4dfef72..696ff32 100644 --- a/xevents.c +++ b/xevents.c @@ -207,7 +207,8 @@ xev_handle_propertynotify(XEvent *ee) group_movetogroup(cc, cc->gc->num); break; default: - /* do nothing */ + if (e->atom == ewmh[_NET_WM_NAME]) + client_setname(cc); break; } } else { |