> When the view uses NSOpenGLView a mouse drag in the view will send  
> events to the view. It works properly.
>
> When the view uses CAOpenGLLayer a mouse drag in the view will move the 
> window! The mouse events are being sent to the view but are apparently 
> being picked up and acted upon by the window as well.

Presumably you have a custom view; you need to return the right value
from -[NSView mouseDownCanMoveWindow]:

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/occ/instm/NSView/mouseDownCanMoveWindow>

-Ben
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to