mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Use zenity messageboxes by default on X11
This makes messageboxes consistent between X11 and Wayland.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user