Wayland: give winit the desktop cursor theme so the pointer returns over panels (#2450)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
vangel76andClaude Opus 5.5 authored and bflatastic committed 2026-10-17 12:50:38 +07:00
1 parent 476d228262
commit 743930ac11
4 files changed
+133

No files matched your search

@@ -24,6 +24,10 @@ finish-args:
- --socket=fallback-x11
# GPU access for the wgpu renderer (Vulkan, or GL as a fallback).
- --device=dri
# Cursor theme: without the cursor-shape protocol (e.g. GNOME 46) winit loads the theme itself.
# The sandbox sets no XCURSOR_PATH and ships no cursor themes, so the pointer would turn invisible
# over the window. The host's themes are mounted under /run/host (#2450).
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
# Open/Save dialogs use the file-chooser portal (rfd), and drag-and-drop uses the document
# portal, so broad filesystem access isn't needed. Pictures is granted for opening files by
# path from the command line.
@@ -22,6 +22,10 @@ finish-args:
- --socket=wayland
- --socket=fallback-x11
- --device=dri
# Cursor theme: without the cursor-shape protocol (e.g. GNOME 46) winit loads the theme itself.
# The sandbox sets no XCURSOR_PATH and ships no cursor themes, so the pointer would turn invisible
# over the window. The host's themes are mounted under /run/host (#2450).
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
# Open/Save dialogs use the file-chooser portal (rfd), and drag-and-drop uses the document
# portal, so broad filesystem access isn't needed. Pictures is granted for opening files by
# path from the command line.