SDL icon indicating copy to clipboard operation
SDL copied to clipboard

Wayland message box: improve zenity argument handling

Open marcin-serwin opened this issue 3 months ago • 0 comments

Description

When no extra buttons are passed to zenity with --question --switch arguments it fails to show anything, however, SDL3 still reports success. To handle this case, we pass an additional "OK" button.

The double quotes were passed literally to the zenity arguments which resulted in the message box displaying literal "" when no text was given. The empty string is more logical in this case, e.g., the empty title results in the message box having lesser height.

Existing Issue(s)

marcin-serwin avatar Nov 04 '24 17:11 marcin-serwin