mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-30 18:24:40 +01:00
Keep the legacy Xcursor fallback in Flatpak
This commit is contained in:
1 parent
97d30d2a0e
commit
bf241d874c
3 files changed
+3
-3
No files matched your search
@@ -21,7 +21,7 @@ for name in ("ai.storyteller.lightcraft.yml", "ai.storyteller.lightcraft.bundle.
|
||||
assert "--talk-name=org.a11y.Bus" in manifest["finish-args"], f"{name} lost --talk-name=org.a11y.Bus"
|
||||
# Without the host's cursor themes the pointer vanishes on Wayland once a tool hides it (#1657).
|
||||
xcursor = [a for a in manifest["finish-args"] if a.startswith("--env=XCURSOR_PATH=")]
|
||||
assert xcursor == ["--env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons"], f"{name}: XCURSOR_PATH is {xcursor}"
|
||||
assert xcursor == ["--env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons:~/.cursors"], f"{name}: XCURSOR_PATH is {xcursor}"
|
||||
manifests.append(manifest)
|
||||
for key in ("runtime", "runtime-version", "sdk", "finish-args"):
|
||||
assert manifests[0][key] == manifests[1][key], f"Flatpak manifests disagree on {key}"
|
||||
|
||||
@@ -32,7 +32,7 @@ finish-args:
|
||||
# ~/.icons stays first, as in the default search path: a theme there is found once that folder is
|
||||
# granted (flatpak override --user --filesystem=~/.icons:ro ai.storyteller.lightcraft). The
|
||||
# sandbox's own folders (the app's, the runtime's, an Icontheme extension's) stay searched last.
|
||||
- --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons
|
||||
- --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons:~/.cursors
|
||||
# X11 shared memory (MIT-SHM). Without it the X11 fallback is slow or fails.
|
||||
- --share=ipc
|
||||
# GPU access for the wgpu renderer (Vulkan, or GL as a fallback).
|
||||
|
||||
@@ -38,7 +38,7 @@ finish-args:
|
||||
# ~/.icons stays first, as in the default search path: a theme there is found once that folder is
|
||||
# granted (flatpak override --user --filesystem=~/.icons:ro ai.storyteller.lightcraft). The
|
||||
# sandbox's own folders (the app's, the runtime's, an Icontheme extension's) stay searched last.
|
||||
- --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons
|
||||
- --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons:~/.cursors
|
||||
# X11 shared memory (MIT-SHM). Without it the X11 fallback is slow or fails.
|
||||
- --share=ipc
|
||||
# GPU access for the wgpu renderer (Vulkan, or GL as a fallback).
|
||||
|
||||
Reference in new issue
Block a user