-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Linux/Freedesktop] Implement native file selection dialog support. #80104
[Linux/Freedesktop] Implement native file selection dialog support. #80104
Conversation
6c726c3
to
27606cc
Compare
27606cc
to
6fbd1f9
Compare
6fbd1f9
to
0902727
Compare
window_id = MAIN_WINDOW_ID; | ||
} | ||
|
||
String xid = vformat("x11:%x", (uint64_t)windows[window_id].x11_window); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: the file dialog part should not depend on X11.
The only change that should be necessary for the Wayland DisplayServer is xid
value. Wayland xid
should be "wayland:HANDLE"
, where HANDLE is a surface handle obtained via xdg-foreign
protocol.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wayland xid should be "wayland:HANDLE", where HANDLE is a surface handle obtained via xdg-foreign protocol.
Great, thanks for letting me know! I really appreciate that you're making the portal implementation generic.
0902727
to
192b5f5
Compare
192b5f5
to
6cc314e
Compare
Thanks! |
Same as #79574 and #47499 for Linux. Should allow accessing files outside flatpak sandbox (should auto map files to
/run/user/$UID/doc/
).