mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-26 00:06:02 +00:00
feat: Flatpak games on the desktop, Store apps on the Desktop page, safer remove
This commit is contained in:
1 parent
4fef38e87e
commit
fe04315461
7 files changed
+90
-12
No files matched your search
@@ -9,9 +9,11 @@ case ":${XDG_DATA_DIRS:-}:" in
|
||||
esac
|
||||
# gamescope manages X windows. Flatpak would hand an app the app's own Wayland socket instead (it
|
||||
# finds wayland-0 in the runtime directory even with WAYLAND_DISPLAY unset), and the window would
|
||||
# open behind gamescope - or not at all, with SDL told to use X11. So under gamescope: X11 only.
|
||||
# open behind gamescope - or not at all, with SDL told to use X11. So under gamescope - a program's
|
||||
# session (BL_INSIDE), or droiddeck-gpu from the desktop (GAMESCOPE_WAYLAND_DISPLAY) - X11 only.
|
||||
# Its own flatpak options (--branch, --command, from a menu entry) come first, then the app id.
|
||||
socket=()
|
||||
if [ -n "${BL_INSIDE:-}" ]; then
|
||||
if [ -n "${BL_INSIDE:-}" ] || [ -n "${GAMESCOPE_WAYLAND_DISPLAY:-}" ]; then
|
||||
unset WAYLAND_DISPLAY
|
||||
socket=(--nosocket=wayland --socket=x11)
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user