Customized fork of github.com/rxi/lite

Merge pull request #137 from dslul/patch-1

Don't tell the system to disable compositing under X11

authored by rxi and committed by GitHub dc766a64 18de4552

Changed files
+4
src
+4
src/main.c
··· 72 72 SDL_EnableScreenSaver(); 73 73 SDL_EventState(SDL_DROPFILE, SDL_ENABLE); 74 74 atexit(SDL_Quit); 75 + 76 + #ifdef SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR /* Available since 2.0.8 */ 77 + SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); 78 + #endif 75 79 #if SDL_VERSION_ATLEAST(2, 0, 5) 76 80 SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1"); 77 81 #endif