gnustep-dev
[Top][All Lists]
Advanced

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

Re: NSCursor mismatched push and pop


From: Germán Arias
Subject: Re: NSCursor mismatched push and pop
Date: Mon, 07 Oct 2013 16:06:16 -0600

El dom, 06-10-2013 a las 21:31 +0100, David Chisnall escribió:
> Ah, sorry, it seems my -base was quite a way out of date.  
> 
> I've put the log here:
> 
> http://theravensnest.org/NSCursor.3.log
> 
> David
> 

Well, after close the open panel, the NSCursorUpdate event is processed
correctly, with the point:

x = 430.000000, y = 81.000000

Then one event AppKitDefined (subtype GSAppKitWindowLeave) set the last
point to:

x = -1.000000, y = -1.000000.

With this the next event, mouseMoved, has a the delta:

deltaX = 430.000000, deltaY = 82.000000

This assumes the cursor is entering, and set the I-beam again.

The GSAppKitWindowLeave is a event that should be processed before
launch the "Open" panel, but is processed later, after close it. I'm not
sure how solve this.

Thanks for this log David.

Germán.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]