- status = XGetWindowProperty(dpy, win, wname, 0L, nbytes, False,
- stype, &rettype, &retfmt, &nitems, &nextra, &prop);
+ status = XGetWindowProperty(dpy, win, a_netwmname, 0L, nbytes, False,
+ a_utf8_string, &rettype, &retfmt, &nitems, &nextra, &prop);