From a403b2a80f48e47cbb3744dd03bd93b0fbee5437 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 19 May 2024 18:02:33 +0200 Subject: [PATCH] Remove Wayland driver check Co-authored-by: Anghelo Carvajal --- src/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.cpp b/src/main/main.cpp index 6cc83ad..a52e78c 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -52,7 +52,7 @@ ultramodern::gfx_callbacks_t::gfx_data_t create_gfx() { SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1"); SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1"); -#if defined(__linux__) && defined(SDL_VIDEO_DRIVER_WAYLAND) +#if defined(__linux__) SDL_SetHint(SDL_HINT_VIDEODRIVER, "x11"); #endif