简体   繁体   中英

In Xul, within a transparent window, how do I hide the mouse cursor?

I have a Xul window that is transparent, and I need to hide the mouse cursor after 1 second. Applying cursor: none will not work, the mouse cursor still shows up in the transparent part of the window.

Any idea how to get rid of the mouse cursor?

Your OS generally won't even bother to send mouse events to a completely transparent (area of your) window; as far as it's concerned, your window isn't there. However if your OS allows it, a nearly transparent window might work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM