Lines Matching refs:tp
235 XTextProperty tp;
239 if (!XGetTextProperty (dpy, w, &tp, XA_WM_COMMAND)) return 0;
241 if (tp.encoding != XA_STRING || tp.format != 8) {
242 Xfree (tp.value);
250 if (tp.nitems && (tp.value[tp.nitems - 1] == '\0')) tp.nitems--;
256 if (!XTextPropertyToStringList (&tp, &argv, &argc)) {
257 Xfree (tp.value);
261 Xfree (tp.value);