Compare commits

..
Author SHA1 Message Date
The412Banner e5810cb2b6 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.
2026-09-27 11:49:44 -04:00
The412Banner c26fe39b60 Keep libfakeinput's C++ runtime private
libfakeinput.so links libstdc++ and libgcc statically and is preloaded into
every session process, so it exported the whole C++ runtime (~7000 symbols,
__gxx_personality_v0 and __cxa_* among them). Programs then unwound through
its copy: shadPS4 aborted in pthread_exit the first time a game thread ended
(forced unwind -> foreign personality -> terminate). Link with
--exclude-libs,ALL so only the input hooks are exported, fail the build if
the runtime leaks out again, and bump the preload cache so it is rebuilt.
2026-09-27 11:49:43 -04:00
+4
View File
@@ -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.