FVWM: Re: referring to current pointer co-ords

From: David S. Goldberg <dsg_at_mitre.org>
Date: 05 Jan 2001 15:17:47 -0500

> greg shebert <gshebert_at_efs-us.com> writes:
>> how would i refer to the current pointer X and Y coordinates in the
>> .fvwm2rc file...
>>
>> i have searched the FAQ and the examples but can't seem to locate it
>>
>> sorry if this is a FAQ question and i am just missing it

> You don't need the window manager to give it to you,
> its available to any program. Try "man XQueryPointer".

Here's a small program I wrote many years ago to print out a geometry
spec for the current position. I might even still use it in shell
scripts though I'm not certain. I don't know how easy/hard it would
be to make a call to it in .fvwm2rc. Hope this helps.
-- 
Dave Goldberg
dsg_at_world.std.com


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Jan 05 2001 - 14:18:23 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST