17 lines
653 B
Plaintext
17 lines
653 B
Plaintext
$OpenBSD: patch-gnome-session_gsm-consolekit_c,v 1.7 2011/09/26 10:19:21 ajacoutot Exp $
|
|
--- gnome-session/gsm-consolekit.c.orig Mon Sep 19 23:35:48 2011
|
|
+++ gnome-session/gsm-consolekit.c Mon Sep 26 11:33:41 2011
|
|
@@ -717,6 +717,12 @@ gsm_consolekit_can_switch_user (GsmConsolekit *manager
|
|
|
|
error = NULL;
|
|
|
|
+/* User switching requires running another new X server which will not
|
|
+ * work by default on OpenBSD.
|
|
+ */
|
|
+#ifdef __OpenBSD__
|
|
+ return FALSE;
|
|
+#endif
|
|
if (!gsm_consolekit_ensure_ck_connection (manager, &error)) {
|
|
g_warning ("Could not connect to ConsoleKit: %s",
|
|
error->message);
|