https://bugzilla.xfce.org/show_bug.cgi?id=10089
--- Comment #7 from Jarno Suni <[email protected]> --- The bug is in xfce4-session/xfce-screensaver.c (and in xfce4-session/xfsm-systemd.c before git commit 9fa8c63b4377bcb46b8471da509ff8bd909c4bf0). A locker should be called syncronously, not by g_spawn_command_line_async (), but by g_spawn_command_line_sync () or directly by g_spawn_sync(), and the provided exit_status should be taken into account. https://developer.gnome.org/glib/stable/glib-Spawning-Processes.html#g-spawn-command-line-sync I.e. something like this: gint *exit_status g_spawn_command_line_sync ("xflock4", NULL, NULL, exit_status, NULL); if (exit_status != NULL && *exit_status == 0) return TRUE; return FALSE; -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Xfce-bugs mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce-bugs
