https://bugzilla.xfce.org/show_bug.cgi?id=12639
--- Comment #3 from poma <[email protected]> --- Log out - without logout dialog: xfce4-session-logout [-l, --logout] Switch User/To Greeter / Lock - with overdue logout dialog: xfce4-session-logout [, -f, --fast] thus at least works somewhat :) --- xfce4-session/xfsm-shutdown.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xfce4-session/xfsm-shutdown.c b/xfce4-session/xfsm-shutdown.c index e015323..c05e478 100644 --- a/xfce4-session/xfsm-shutdown.c +++ b/xfce4-session/xfsm-shutdown.c @@ -536,6 +536,18 @@ xfsm_shutdown_can_switch_user (XfsmShutdown *shutdown, NULL, error); + if (display_proxy != NULL) + { + g_dbus_proxy_call_sync (display_proxy, + "SwitchToGreeter", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + NULL, + NULL); + g_object_unref (display_proxy); + } + if (display_proxy == NULL) { xfsm_verbose ("display proxy returned NULL\n"); -- -- 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
