17 lines
650 B
Plaintext
17 lines
650 B
Plaintext
$OpenBSD: patch-gnome-session_gsm-consolekit_c,v 1.6 2011/09/12 07:28:54 jasper Exp $
|
|
--- gnome-session/gsm-consolekit.c.orig Tue Mar 22 21:31:43 2011
|
|
+++ gnome-session/gsm-consolekit.c Wed May 18 14:37:20 2011
|
|
@@ -716,6 +716,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);
|