Re: NSScreen.screens under multiple displays
Re: NSScreen.screens under multiple displays
- Subject: Re: NSScreen.screens under multiple displays
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Thu, 8 Jun 2023 12:06:28 -0500
I have a 2 screen system running Ventura and another 3 screen system but not
under Ventura.
I could build and test for you if you wish.
> On Jun 8, 2023, at 11:53 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> In my method
>
> - (void) viewDidMoveToWindow
>
> I have these lines of code:
>
> window_ = [self window];
> NSUInteger idx_of_screen = [NSScreen.screens indexOfObject:
> window_.screen];
>
> My question is: will this always produce the same results, whether or not the
> user has switched "Displays have separate Spaces" on or off (under Desktop &
> Dock).
>
>
> Best regards, Gabriel
>
> _______________________________________________
>
> 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