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 14:27:43 -0500
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.
Here is a trace:
1/2/12 1:51:21.428 PM JTVideoPlayer: -[JTVAppDelegate window:willUseFullScreenPresentationOptions:]
1/2/12 1:51:21.429 PM JTVideoPlayer: -[JTVAppDelegate windowWillEnterFullScreen:]
1/2/12 1:51:21.441 PM JTVideoPlayer: -[JTVAppDelegate window:willUseFullScreenContentSize:]
1/2/12 1:51:21.448 PM JTVideoPlayer: -[JTVAppDelegate windowDidEnterFullScreen:]
1/2/12 1:51:21.532 PM JTVideoPlayer: -[JTVAppDelegate windowWillExitFullScreen:]
1/2/12 1:51:22.886 PM JTVideoPlayer: -[JTVAppDelegate windowDidExitFullScreen:]
-Michael
On Jan 2, 2012, at 1:52 PM, Seth Willits wrote:
> On Jan 2, 2012, at 10:30 AM, Michael Crawford wrote:
>
>> I'm trying to hide the cursor when in full-screen mode on Lion but the CGDisplayHideCursor call immediately takes the display out of full-screen mode. It doesn't matter which call comes first, I get the same result every time.
>
> Works fine here.
>
>
>
> --
> Seth Willits
> _______________________________________________
>
> 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