Next: xregister, Previous: xpurge, Up: Internal Routines [Contents][Index]
xquery [,
window
]
xquery([ window ])
[x11]
Returns the current mouse position and system time: the
mouse position relative to the current window in !ix
and
!iy
, the mouse position relative to the root window in
!root_x
and !root_y
, and the system time in !xtime
.
The function form returns 1
if the mouse was in the specified
window, 0
otherwise. window
defaults to the last
window (!window
).
See also: xport, xplace, !ix, !iy, !root_x, !root_y, !xtime, !window