Use zenity messageboxes by default on X11

This makes messageboxes consistent between X11 and Wayland.
This commit is contained in:
Sam Lantinga
2025-09-20 08:05:45 -07:00
parent 9cefbab766
commit 597ef58966
5 changed files with 17 additions and 23 deletions

View File

@@ -3384,6 +3384,10 @@ if (SDL_DIALOG)
set(HAVE_SDL_DIALOG TRUE)
endif()
endif()
if(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
sdl_sources(${SDL3_SOURCE_DIR}/src/dialog/unix/SDL_zenitymessagebox.h)
sdl_sources(${SDL3_SOURCE_DIR}/src/dialog/unix/SDL_zenitymessagebox.c)
endif()
sdl_sources("${SDL3_SOURCE_DIR}/src/process/SDL_process.c")
if(WINDOWS)