summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e2c2cc83..f146bb25 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;