Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get fullscreen on secondary display on macOS #12

Open
sampumon opened this issue May 4, 2021 · 5 comments
Open

Cannot get fullscreen on secondary display on macOS #12

sampumon opened this issue May 4, 2021 · 5 comments

Comments

@sampumon
Copy link

sampumon commented May 4, 2021

Fullscreen always goes to primary display, and blanks secondary display. Cannot even switch windows when in fullscreen, cmd+tab does not work 😅

Tried exiting fullscreen in game options, moving window to secondary display, and going back fullscreen. Same.

Startup configuration only displays resolutions for primary display.

Macbook Air 2014, macOS 11.3, jfduke 20210130.

@jonof
Copy link
Owner

jonof commented May 5, 2021

As it's currently implemented, the query for resolutions references the primary display and I'll need to think about how that assumption might be changed.

@sampumon
Copy link
Author

sampumon commented May 5, 2021

Yes but there is something fundamentally weird going on, as fullscreen should not blank the other screen and disable window switching, ie. cmd+tab, three-finger-swipe and mission control (F3 & F4).

Eduke32 does fullscreen correctly. Maybe you're using a deprecated api?

@jonof
Copy link
Owner

jonof commented May 5, 2021

I'm guessing you're set for a 32-bit video mode. I presume it behaves more like you're looking for when in 8-bit fullscreen mode, no?

@sampumon
Copy link
Author

sampumon commented May 5, 2021

Wow yes it does! Can get fullscreen on secondary display in 8-bit and even switch windows!

Only problem is that maximum resolution is that of primary display (1440x900), and fullscreen Jfduke is a box of that size on lower left corner of secondary display (1920x1200) 🥲

@jonof
Copy link
Owner

jonof commented May 5, 2021

Right, so that's the difference between 'fullscreen desktop' (8-bit) and 'fullscreen' (32-bit) modes. And it seems that something has changed to break the upscale SDL seemed to once do to fill the screen. sigh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants