Add gdm-switch-user, run by dwmstatus

This commit is contained in:
2016-01-27 20:22:49 +01:00
parent 9908181467
commit 2825c89961
4 changed files with 47 additions and 0 deletions

17
gdm-switch-user.c Normal file
View File

@@ -0,0 +1,17 @@
// Public domain
#include <gdm-user-switching.h>
int
main (int argc, char *argv[])
{
(void) argc;
(void) argv;
GError *e = NULL;
if (!gdm_goto_login_session_sync (g_cancellable_new (), &e))
{
g_printerr ("%s\n", e->message);
return 1;
}
return 0;
}