diff options
| author | rxi <rxi@users.noreply.github.com> | 2020-06-03 14:34:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-03 14:34:50 +0100 |
| commit | dc766a644f77b0895a84705a12518c8b42318843 (patch) | |
| tree | fa8a34972c19da9a32bd476afd28c0fb23cea56e | |
| parent | 18de4552e2313a902b9448432dfd6802b47d3d56 (diff) | |
| parent | 95ee03fb373806fcfc01a91113d3aef41ed50a4b (diff) | |
| download | lite-xl-dc766a644f77b0895a84705a12518c8b42318843.tar.gz lite-xl-dc766a644f77b0895a84705a12518c8b42318843.zip | |
Merge pull request #137 from dslul/patch-1
Don't tell the system to disable compositing under X11
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -72,6 +72,10 @@ int main(int argc, char **argv) { SDL_EnableScreenSaver(); SDL_EventState(SDL_DROPFILE, SDL_ENABLE); atexit(SDL_Quit); + +#ifdef SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR /* Available since 2.0.8 */ + SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); +#endif #if SDL_VERSION_ATLEAST(2, 0, 5) SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1"); #endif |
