[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to get the current screen
Date: Tue, 20 Nov 1990 15:44-0500
From: Moon@STONY-BROOK.SCRC.Symbolics.COM (David A. Moon)
Calling tv:mouse-default-superior is a good answer. Note that it takes a window as
an optional argument, defaulting to the value of *TERMINAL-IO*.
gives more robustness in the face of various unusual situations, for example if you have
a color screen and a monochrome screen sharing the same mouse, it will use the screen
the mouse is on even if the window you give is on the other screen; for menus you
generally would rather have them appear next to the mouse.
A curiosity flag raises which asks, "How does the program know which mouse to
base this function on?" Remember, when running X windows, there's a separate
mouse for each console. I'm just curious; so, please don't spend a long time
producing a rigorous response.
Don Mitchell firstname.lastname@example.org
Amoco Production Company (918) 660-4270
Tulsa Research Center
P.O. Box 3385, Tulsa, OK 74102