Customized fork of github.com/rxi/lite

Don't tell the system to disable compositing under X11

Fixes #123

authored by Daniele Laudani and committed by GitHub 7aa462e4 f00d5d55

Changed files
+5
src
+5
src/main.c
··· 69 69 #endif 70 70 71 71 SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS); 72 + 73 + #ifdef SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR /* Available since 2.0.8 */ 74 + SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); 75 + #endif 76 + 72 77 SDL_EnableScreenSaver(); 73 78 SDL_EventState(SDL_DROPFILE, SDL_ENABLE); 74 79 atexit(SDL_Quit);