Grabbing the Pointer
Cooperate
coop at panther.cerc.wvu.wvnet.edu
Fri Mar 30 07:54:47 AEST 1990
I am trying to develop an application to cut an arbitrary part of the screen
from the SGI (News server, 4D). I have managed to do that by opening a little
window on the screen, trapping the mouse-down event in it and then executing
a fullscreen() to be able to follow the mouse around the screen to draw the
rubber-band and eventually get the coordinates on the mouse-up.
Now, the question is : can I do that without using the window, i.e. specify
to the NeWS server that from now until later I want ALL the mouse events,
something equivalent to the X call XGrabPointer (as you can see, I am an X
man. Sorry to abuse you, folks)
Boris Pelakh "Software - a spell one casts on a
pelakh at cerc.wvu.wvnet.edu computer to transform input into
coop at cerc.wvu.wvnet.edu errors." -- Me
Disclaimer : If my employer knew what I did with the time I get paid for,
I would be out of a job. Let's keep this between us, OK ?
More information about the Comp.sys.sgi
mailing list