diff options
author | tim | 2019-04-29 19:02:21 +0000 |
---|---|---|
committer | tim | 2019-04-29 19:02:21 +0000 |
commit | f0808f6663bbb2900d20cbae70dee0df43559745 (patch) | |
tree | 34f20c61b9f1da6b7eb3f3273791fd867fc18060 /xevents.c | |
parent | 7f085a1788f40d1aef4ac5cd1880eb0c8f0ac66f (diff) | |
download | cwm-f0808f6663bbb2900d20cbae70dee0df43559745.tar.gz |
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@
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xevents.c,v 1.146 2019/03/11 15:25:46 okan Exp $ + * $OpenBSD: xevents.c,v 1.147 2019/04/29 19:02:21 tim Exp $ */ /* @@ -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 { |