728a2be8a7
determine the VT it is using it will attempt to parse the X server's log file looking for the string 'using VT number '. If GDM doesn't know what VT it's using, it is unable to pass that information to ConsoleKit, so the session is treated as always inactive. Enable automatic VT allocation by default, and piggyback on the Linux/SunOS VT switching code using wsdisplay usl emulation for NetBSD. Also, PKGREVISION++
15 lines
471 B
Text
15 lines
471 B
Text
$NetBSD: patch-as,v 1.1 2008/11/23 22:06:49 jmcneill Exp $
|
|
|
|
--- daemon/getvt.h.orig 2008-11-23 16:08:55.000000000 -0500
|
|
+++ daemon/getvt.h 2008-11-23 16:09:13.000000000 -0500
|
|
@@ -31,6 +31,10 @@
|
|
#define GDM_USE_CONSIO_VT
|
|
#endif
|
|
|
|
+#if defined(__NetBSD__)
|
|
+#define GDM_USE_WSCONS_VT
|
|
+#endif
|
|
+
|
|
/* gets an argument we should pass to the X server, on
|
|
* linux for example we get the first empty vt (higher than
|
|
* or equal to GDM_KEY_FIRST_VT) and then return vt<number>
|