Don't disable the compositor on Linux

This commit is contained in:
Phillip Stephens 2022-02-20 18:42:59 -08:00
parent 11b75ddda4
commit c679c2e0f8
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
2 changed files with 4 additions and 2 deletions

View File

@ -230,7 +230,9 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon, int argc, char** argv)
for (size_t i = 1; i < argc; ++i) {
g_Args.emplace_back(argv[i]);
}
#if !defined(_WIN32) && !defined(__APPLE__)
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
#endif
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) {
Log.report(logvisor::Fatal, FMT_STRING("Error initializing SDL: {}"), SDL_GetError());
unreachable();

2
extern/zeus vendored

@ -1 +1 @@
Subproject commit ec125acf29f9b3df9fbb086f306bdb181634760c
Subproject commit e53b380f4298364c8f389c562415e2c093423b56