Re: Textured Window Responder Issue
Re: Textured Window Responder Issue
- Subject: Re: Textured Window Responder Issue
- From: Benjamin Stiglitz <email@hidden>
- Date: Mon, 1 Dec 2008 14:34:36 -0500
- Mail-followup-to: email@hidden
> 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 (email@hidden)
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:
This email sent to email@hidden