This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: It this the disappearing cursor bug?


Hi,

Joseph Miller wrote:-

> I have seen some code in MPlayer that uses a while loop to continue to
call 
> ShowCursor() until the cursor is either shown or hidden as needed.

I haven't tried this one yet:-

instead of ShowCursor(TRUE) use
	while (ShowCursor(TRUE) < 0)

instead of ShowCursor(FALSE) use
	while (ShowCursor(FALSE) >= 0)

As the software cursor works OK, maybe I should only cludge the hardware
one.
I'll hold on to this candidate patch for the moment and see if it holds up:-

http://cygwin.com/ml/cygwin-xfree/2005-11/msg00082.html


Colin Harrison



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]