summaryrefslogtreecommitdiff
path: root/daemon/gdm-display.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-06 21:41:16 +0200
committerRay Strode <rstrode@redhat.com>2012-08-06 23:23:38 -0400
commit42ef43e603d65390c2c86e276489c8a08c7808a0 (patch)
treeedd9e5d905138a4741ece8eb1699cf6cdf5fc511 /daemon/gdm-display.h
parentedd5e9cd13df68a16caa69c12b0b18d439022e3b (diff)
downloadgdm-42ef43e603d65390c2c86e276489c8a08c7808a0.tar.gz
gdm: always run gdm on VT1
This drops automatic VT allocation schemes for the initial display in favour of a compile time hardcoded VT assignment. The automatic allocation schemes are inherently racy since a simpler output to the console might already influence it and result in gdm running on another than the intended VT. This patch adds a --with-initial-vt= switch to configure which may be used to set the VT gdm will run the initial server on. It defaults to 1. https://fedoraproject.org/wiki/Features/DisplayManagerRework https://bugzilla.gnome.org/show_bug.cgi?id=511168
Diffstat (limited to 'daemon/gdm-display.h')
-rw-r--r--daemon/gdm-display.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/gdm-display.h b/daemon/gdm-display.h
index 5050eecd..e750ffa6 100644
--- a/daemon/gdm-display.h
+++ b/daemon/gdm-display.h
@@ -136,6 +136,9 @@ gboolean gdm_display_get_timed_login_details (GdmDisplay *disp
char **username,
int *delay,
GError **error);
+gboolean gdm_display_is_initial (GdmDisplay *display,
+ gboolean *initial,
+ GError **error);
/* exported but protected */
gboolean gdm_display_get_x11_cookie (GdmDisplay *display,
@@ -155,7 +158,6 @@ gboolean gdm_display_set_slave_bus_name (GdmDisplay *disp
const char *name,
GError **error);
-
G_END_DECLS
#endif /* __GDM_DISPLAY_H */