summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index efe96ad9..c8a9c335 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;