Re: CGDisplayHideCursor and -[NSWindow toggleFullScreen] don't get along on Lion
Re: CGDisplayHideCursor and -[NSWindow toggleFullScreen] don't get along on Lion
- Subject: Re: CGDisplayHideCursor and -[NSWindow toggleFullScreen] don't get along on Lion
- From: Michael Crawford <email@hidden>
- Date: Mon, 02 Jan 2012 17:11:38 -0500
For the benefit of anyone else who is watching and also has limited experience with some of the new Lion features, a call to [NSWindow setRestorable:] or flipping a switch in the interface builder UI for the NSWindow instance, handily solves the problem.
-Michael
On Jan 2, 2012, at 4:56 PM, Michael Crawford wrote:
> Seth, I appreciate your offer to help out by testing some code. Now that Kyle has identified what is going on, I'm looking into programmatically disabling or overriding the window restoration behavior for my app.
>
> -Michael
>
> On Jan 2, 2012, at 4:44 PM, Michael Crawford wrote:
>
>> Thank you, Kyle. That works.
>>
>> -Michael
>>
>> On Jan 2, 2012, at 3:16 PM, Kyle Sluder wrote:
>>
>>> On Jan 2, 2012, at 11:27 AM, Michael Crawford <email@hidden> wrote:
>>>
>>>> Seth, don't run from inside Xcode. Start the app from the finder. I find that in that instance, it goes to full screen and then immediately exits full screen.
>>>
>>> Try launching with Shift held down to clear restorable window state.
>>>
>>> --Kyle Sluder
>>
>> _______________________________________________
>>
>> 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
>
> _______________________________________________
>
> 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
_______________________________________________
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