Remove Wayland driver check

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
This commit is contained in:
Nadia Holmquist Pedersen 2024-05-19 18:02:33 +02:00
parent 4db8bf072b
commit a403b2a80f
1 changed files with 1 additions and 1 deletions

View File

@ -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_MOUSE_FOCUS_CLICKTHROUGH, "1");
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "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"); SDL_SetHint(SDL_HINT_VIDEODRIVER, "x11");
#endif #endif