Panel hover events for modules; spawned apps get default SIGCHLD and keep the real bus for flatpak
CI / test (push) Failing after 16s

- shell: the module under the pointer gets PointerMove, the one it left gets PointerLeave
  (hover feedback, e.g. the dock's magnifying tiles)
- sys: reset SIGCHLD to SIG_DFL in the child before exec (SIG_IGN is inherited and breaks
  apps that wait() on helpers, e.g. terminals); flatpak run keeps the real session bus
- inspector: drop the redundant 'scroll for more' hint next to the scrollbar

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-25 00:41:07 -08:00
1 parent 95a21a0b84
commit f05677178a
3 files changed
+25 -2

No files matched your search

+5 -1
View File
@@ -381,7 +381,11 @@ int32_t mp_spawn(moonbit_bytes_t cmd_bytes, moonbit_bytes_t display_bytes) {
if (pid < 0) return -1;
if (pid == 0) {
setsid();
if (private_bus[0]) setenv("DBUS_SESSION_BUS_ADDRESS", private_bus, 1);
/* SIG_IGN survives exec; apps (e.g. terminals that wait() on a helper) need the default. */
signal(SIGCHLD, SIG_DFL);
/* Flatpak apps reach the host (shell lookup, portals) through org.freedesktop.Flatpak
* on the real session bus, so they keep it; the sandbox isolates their instances anyway. */
if (private_bus[0] && strstr(cmd, "flatpak run") == NULL) setenv("DBUS_SESSION_BUS_ADDRESS", private_bus, 1);
setenv("WAYLAND_DISPLAY", display, 1);
unsetenv("DISPLAY");
/* Make toolkits pick our Wayland socket, not X11 or the host session. */