diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -68,6 +68,9 @@ int main(int argc, char **argv) { | |||
68 | SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); | 68 | SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); |
69 | SDL_SetHint(SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK, "1"); | 69 | SDL_SetHint(SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK, "1"); |
70 | SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); | 70 | SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); |
71 | #if 0 | ||
72 | SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1"); /* debugging! */ | ||
73 | #endif | ||
71 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) { | 74 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) { |
72 | fprintf(stderr, "[SDL] init failed: %s\n", SDL_GetError()); | 75 | fprintf(stderr, "[SDL] init failed: %s\n", SDL_GetError()); |
73 | return -1; | 76 | return -1; |