diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ int main(int argc, char **argv) { | |||
54 | #endif | 54 | #endif |
55 | init_Foundation(); | 55 | init_Foundation(); |
56 | SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); | 56 | SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); |
57 | SDL_SetHint(SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK, "1"); | ||
57 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) { | 58 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) { |
58 | fprintf(stderr, "SDL init failed: %s\n", SDL_GetError()); | 59 | fprintf(stderr, "SDL init failed: %s\n", SDL_GetError()); |
59 | return -1; | 60 | return -1; |