From a09d863e41f652e61f3ab173ad3bfb2b612722af Mon Sep 17 00:00:00 2001 From: The412Banner Date: Sat, 26 Sep 2026 22:01:33 -0400 Subject: [PATCH] Desktop: draw the cursor into the desktop's own frames On the Vulkan (and GLES) desktop the pointer worked - panel buttons lit up under it - but no cursor was drawn. wlroots' wayland backend hands the cursor to the parent compositor as a wl_pointer cursor surface, and the app's compositor never draws those. WLR_NO_HARDWARE_CURSORS=1 makes labwc composite it itself (device-tested on the Vulkan desktop). Still overridable from the session environment. --- tools/linuxfs/desktop/droiddeck-desktop | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/linuxfs/desktop/droiddeck-desktop b/tools/linuxfs/desktop/droiddeck-desktop index 55adbdf07..6820a9dce 100644 --- a/tools/linuxfs/desktop/droiddeck-desktop +++ b/tools/linuxfs/desktop/droiddeck-desktop @@ -55,6 +55,10 @@ if [ -n "${BL_DEBUG_DIR:-}" ]; then echo "== droiddeck-desktop $(date -u '+%Y-%m-%d %H:%M:%S UTC') renderer=$WLR_RENDERER" fi export WLR_BACKENDS=wayland +# The app's compositor draws no wl_pointer cursor surfaces, so a cursor wlroots hands to its +# parent ("hardware" cursor on the wayland backend) never shows - on the GPU renderers the whole +# cursor was missing. Draw it into the desktop's own frames instead. +export WLR_NO_HARDWARE_CURSORS=${WLR_NO_HARDWARE_CURSORS:-1} mkdir -p "$HOME/.config/labwc" "$HOME/.config/lxqt" # Our defaults for labwc and the panel, refreshed every session. What a user changes in the # panel's own settings lands in panel.conf and is kept; only rc.xml and autostart are ours.