Sean Ridenour
feebb9fcf8
Fix file selection dialog boxes not working on macOS 11.0+
2024-04-01 07:38:05 -07:00
Sam Huang
a9cab01185
Don't change cwd with file dialogs
2024-03-31 12:50:29 -07:00
Semphris
335fa5d6e4
Disable SDL dialogs for tvOS and iOS
2024-03-29 23:13:15 -07:00
Mykola Rubets
fc053fb499
Fix OpenFolder dialog behavior on Windows
2024-03-24 11:44:16 -07:00
Sam Lantinga
491f18eea3
Fixed uninitialized signal_id
...
Also removed unnecessary SDL_OutOfMemory() calls
Fixes https://github.com/libsdl-org/SDL/issues/9300
2024-03-18 09:12:51 -07:00
Frank Praznik
ebb6582534
wayland: Handle the toplevel export property as a string
...
xdg-toplevel export handles are strings, so treat the property as one. Avoids the need to manually manage the string pointer.
2024-03-18 11:41:02 -04:00
Frank Praznik
ea60c2079b
dialog: Pass the Wayland or X11 parent window handle to the file dialog portal
...
Pass the Wayland window export string in the form "wayland:<handle string>" or the X11 window XID in the form "x11:<XID in hex>" to the file dialog portal, so that the window manager can associate the dialog with the parent window and position it correctly.
2024-03-15 18:30:05 -04:00
Frank Praznik
d523cd069f
dialog: Detect if the file chooser portal is available
...
Use the introspection method to detect if the file chooser portal is available.
2024-03-15 18:30:05 -04:00
Semphris
70c2e15615
Add file dialogs
2024-03-14 15:40:25 -07:00