[FDOM] Mouse cursor visibility

Carsten Haitzler (The Rasterman) raster at rasterman.com
Wed Nov 5 00:14:25 CET 2008

On Tue, 04 Nov 2008 16:31:26 +0100 "Marco Trevisan (Treviño)" <mail at 3v1n0.net>

> Carsten Haitzler (The Rasterman) wrote:
> > On Tue, 28 Oct 2008 19:57:27 +0100 Bastiaan Hovestreydt
> > <openmoko at hovestreydt.com> babbled:
> > 
> >> Hi,
> >>
> >> since its possible I want to use my Freerunner with an USB mouse :-)
> >> I got it working flawlessly by plugging the mouse in while the phone is
> >> in host mode and removing the -hide-cursor argument from the ARGS
> >> variable in /etc/X11/Xserver.
> >> Unfortunately you have to restart your Xserver each time you want to
> >> show/hide the mouse cursor. I was wondering if there is a way to change
> >> the visibility of the cursor while the Xserver is running so I don't
> >> have to reboot every time I want to get rid of the cursor again.
> > 
> > basically - no. there is no x extension or call to globally make a cursor
> > not visible or visible. thus it's a cmd-line option. you can make an
> > attempt at this in the window manager by setting root cursor to "blank" or
> > "visible" BUT amny apps and toolkits explicitly set cursors of their own on
> > their own windows or on their widgets (eg a different cursor over text
> > areas) and the root cursor is overridden here - thus the global disable
> > option to not have to go patching every app/toolkit and still possibly get
> > a cursor.
> What about setting a transparent cursor by default allowing to change
> theme (to a non-transparent cursor) on-the-fly?

as i said -apps and toolkits often explicitly set their own cursor - the "root
cursor" won't get inherited and thus u see whatever the app set instead of
blank. that is why the cmd-line options exists to force it always to be off :/

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at rasterman.com

More information about the community mailing list