jfduke3d
jfduke3d copied to clipboard
Cannot get fullscreen on secondary display on macOS
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.
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.
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?
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?
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) 🥲
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