johnfo
johnfo

Reputation: 1842

SDL on OSX with fullscreen - CMD-TAB not working

I'm using SDL on OSX, putting the display into fullscreen by using SDL_SetWindowFullScreen(SDL_WINDOW_FULLSCREEN). What I find is that when doing this, the CMD-TAB hotkey does not work. This is quite different behaviour as to bringing up a normal window and manually expanding it to fullscreen - the latter works fine.

Has anybody else experienced this? I'm using a slightly (locally) modified version of 2.0.4. Also I've tried the latest (as of yesterday) version from Mercurial. Does not seem to make much difference. Testing on El Capitan.

Upvotes: 0

Views: 511

Answers (1)

robertklep
robertklep

Reputation: 203359

Judging by this forum discussion, instead of SDL_WINDOW_FULLSCREEN you could use SDL_WINDOW_FULLSCREEN_DESKTOP to solve that issue.

Upvotes: 1

Related Questions