-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 3 Oct 2002 16:57, David Antliff wrote: > Hi, I'm trying out a little technique with extending my window manager. > I'd not too elaborate but I'm not convinced it will work yet. All I need > to know is, is there a program or an X function that will return the > current absolute mouse coordinates without waiting for a move event or > somesuch? For example, I move the mouse to the middle of the screen and > type 'getcoords' (or whatever) in a previously selected xterm and it > returns "600,400" or whatever.
XQueryPointer is probably what you want (Xlib Reference Manual, pg 496-7, also in man page :) What is the idea? - -- http://conf.linux.org.au. 22-25Jan2003. Perth, Aust. Tickets booked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9m+5kW6pHgIdAuOMRAiRkAKCb3kiYXu+5v1iTHe3+mmQYI8iaVQCfVHFw ZLU22QQmKJP+NgF3ig7sdMs= =+slT -----END PGP SIGNATURE----- _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert