gdm r6243 - in branches/gnome-2-20: . daemon



Author: bcameron
Date: Thu May 22 18:58:30 2008
New Revision: 6243
URL: http://svn.gnome.org/viewvc/gdm?rev=6243&view=rev

Log:
2008-05-22 Brian Cameron <brian cameron sun com>

        * daemon/getvt.c:  Change 3rd argument of XInternAtom to True,
          so that the XFree86_VT Atom is not created if it does not
          exist.


Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/daemon/getvt.c

Modified: branches/gnome-2-20/daemon/getvt.c
==============================================================================
--- branches/gnome-2-20/daemon/getvt.c	(original)
+++ branches/gnome-2-20/daemon/getvt.c	Thu May 22 18:58:30 2008
@@ -59,7 +59,7 @@
 	if (display == NULL)
 		return -1;
 
-	prop = XInternAtom (display, "XFree86_VT", False);
+	prop = XInternAtom (display, "XFree86_VT", True);
 	if (prop == None) {
 	        gdm_debug ("no XFree86_VT atom\n");
 	        return -1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]