diff options
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ int main(int argc, char **argv) { | |||
68 | "DHE-RSA-AES256-GCM-SHA384"); | 68 | "DHE-RSA-AES256-GCM-SHA384"); |
69 | SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); | 69 | SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1"); |
70 | SDL_SetHint(SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK, "1"); | 70 | SDL_SetHint(SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK, "1"); |
71 | SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); | ||
71 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) { | 72 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) { |
72 | fprintf(stderr, "[SDL] init failed: %s\n", SDL_GetError()); | 73 | fprintf(stderr, "[SDL] init failed: %s\n", SDL_GetError()); |
73 | return -1; | 74 | return -1; |