Thanks, that works, but only if the NSWindow’s isMovableByWindowBackground is 
set to NO.

> On 2017. Jan 8., at 10:08, dangerwillrobinsondan...@gmail.com wrote:
> 
> IIRC use NSBorderlessWindowMask. 
> 
> 
> Sent from my iPhone
> 
>> On Jan 8, 2017, at 17:55, Tamas Nagy <tamas.lov.n...@gmail.com> wrote:
>> 
>> Hi,
>> 
>> is there any way to disable the window snapping feature introduced in macOS 
>> Sierra in an NSWindow subclass? I have an own snapping-like feature in my 
>> NSwindow subclass which works a little bit different than Apple’s 
>> implementation and the two are interfering on Sierra.
>> 
>> Thanks!
>> 
>> Best,
>> Tamas
>> _______________________________________________
>> 
>> 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:
>> https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com
>> 
>> This email sent to dangerwillrobinsondan...@gmail.com

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to