[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

temporarily removing the mouse



    Date: Mon, 27 Feb 89 00:13:54 CST
    From: aihaug@AUSTIN.LOCKHEED.COM (Daniel A Haug)


    I have a problem with catching a picture of the mouse cursor sometimes
    during periods of extensive bitblting.  Its my software thats doing the
    blting, and sometimes if you happen to move the mouse across a region
    thats being blted at the same time, you get a snapshot of the mouse cursor.
    It was suggested to me by someone that there is a way to make the mouse
    disappear momentarily for the duration of the bitblt.  As this bitblting
    is occuring during mouse-tracking (e.g. running in the mouse process),
    I am only interested in a very high-speed, low-overhead solution.

    Does anyone know if there is such a thing?

    dan haug
    haug@austin.lockheed.com



(TV:OPEN-BLINKER TV:MOUSE-BLINKER) will turn off the mouse blinker.
Note that if this is called in code which does NOT run in the mouse
process, then it should be used inside a WITHOUT-INTERRUPTS, otherwise
the mouse process will turn the mouse blinker right back on again.  The
window system calls TV:OPEN-BLINKER all the time, and I believe it's
involves little overhead.

Laura Bagnall
laura@zermatt.lcs.mit.edu