nanogui: Mouse pointer does not change in FLTK + nxlib + nano-X


Previous by date: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Greg Haerr
Next by date: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas
Previous in thread: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Greg Haerr
Next in thread: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas

Subject: Re: [nanogui] Mouse pointer does not change in FLTK + nxlib + nano-X
From: "Greg Haerr" ####@####.####
Date: 24 Feb 2006 17:58:26 +0000
Message-Id: <165901c6396b$e7ba54b0$6401a8c0@winXP>

> The question is: how to fix XFreeCrusor() properly so that the cursors are
eventually destroyed (GrDestroyCrusor call in XFreeCursor)

Sounds like X keeps a cursor count, and then frees
when 0.  We free immediately in any case.

You might have to keep an NXLIB cursor count, although
this could be problematic since we don't keep
an internal cursor count in nano-X.  The internal
function GsCheckCursor looks up the window cursor
for display, and if not, uses the standard cursor.

I'd recommend starting with an external cursor count
before changing nano-X internals, since keeping a
cursor count in nano-X changes semantics for other
nano-X programs.

Regards,

Greg


Previous by date: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Greg Haerr
Next by date: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas
Previous in thread: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Greg Haerr
Next in thread: 24 Feb 2006 17:58:26 +0000 Re: Mouse pointer does not change in FLTK + nxlib + nano-X, Martin Kajdas


Powered by ezmlm-browse 0.20.