On Thu, Jan 10, 2008 at 02:29:00PM -0500, Adam Jackson wrote:
Eew. Don't do it that way.
atropine:~% xprop -root | grep VT
XFree86_VT(INTEGER) = 7
Also looking at the xdm code, looks like it does about that:
prop = XInternAtom(d->dpy, "XFree86_VT", False);
XGetWindowProperty(d->dpy, DefaultRootWindow(d->dpy), prop, 0, 1,
False, AnyPropertyType, &actualtype, &actualformat,
&nitems, &bytes_after, &buf)
--
Pat