summaryrefslogtreecommitdiff
path: root/x11/gdm2/files/patch-daemon_gdm.c
blob: 57d3ec6ba617d79549b1ad34151b4dccc5ecd006 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- daemon/gdm.c.orig	Mon Apr  5 03:11:28 2004
+++ daemon/gdm.c	Tue May 11 00:04:26 2004
@@ -3822,7 +3822,7 @@
 			return;
 		}
 
-#ifdef __linux__
+#if defined  (__linux__) || defined (__FreeBSD__)
 		gdm_connection_printf (conn, "OK %d\n", gdm_get_cur_vt ());
 #else
 		gdm_connection_write (conn, "ERROR 8 Virtual terminals not supported\n");
@@ -3849,7 +3849,7 @@
 			return;
 		}
 
-#ifdef __linux__
+#if defined (__linux__) || defined (__FreeBSD__)
 		gdm_change_vt (vt);
 		for (li = displays; li != NULL; li = li->next) {
 			GdmDisplay *disp = li->data;