Commit 0093426c authored by Guido Gunther's avatar Guido Gunther Committed by Sebastian Krzyszkowiak

session: Use fader on shutdown

This gives immediate visual feedback.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent abdbbcb6
......@@ -9,6 +9,7 @@
#define G_LOG_DOMAIN "phosh-session"
#include "session.h"
#include "shell.h"
#include <gio/gio.h>
#include <gtk/gtk.h>
......@@ -32,6 +33,7 @@ static GDBusProxy *_proxy;
static void
respond_to_end_session (GDBusProxy *proxy)
{
phosh_shell_fade_out (phosh_shell_get_default ());
/* we must answer with "EndSessionResponse" */
g_dbus_proxy_call (proxy, "EndSessionResponse",
g_variant_new ("(bs)", TRUE, ""),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment