I cannot find any info about [EMAIL PROTECTED] on the xfree86.org website.
Therefore, I will post this here. This patch is to disable vt switching on
hurd as hurd does not support the VT_ACTIVATE ioctl. Once again, this patch
comes from the debian patch set, and I simply ported it to the current
snapshot.

This patch from Robert Millan.

--- xc/programs/Xserver/hw/xfree86/common/xf86Events.c.old      2003-04-11
15:03:23.000000000 +0200
+++ xc/programs/Xserver/hw/xfree86/common/xf86Events.c  2003-04-11
15:04:55.000000000 +0200
@@ -320,6 +320,9 @@
        }
        break;
 #if !defined(__SOL8__) && !defined(__UNIXOS2__) && (!defined(sun) ||
defined(i386))
+#ifndef VT_ACTIVATE
+#warning missing VT_ACTIVATE ioctl; vt switching is disabled.
+#else
     case ACTION_SWITCHSCREEN:
        if (VTSwitchEnabled && !xf86Info.dontVTSwitch && arg) {
            int vtno = *((int *) arg);
@@ -355,6 +358,7 @@
                ErrorF("Failed to switch consoles (%s)\n", strerror(errno));
        }
        break;
+#endif /* VT_ACTIVATE */
 #endif
     case ACTION_MESSAGE:
         {
-- 
Treasurer, GOLUM, Inc.
http://www.golum.org

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to