author | yippi |
Sat, 05 Sep 2009 05:58:35 +0000 | |
branch | gnome-2-26 |
changeset 18856 | 53d228c07e01 |
parent 18855 | b596c61bbc85 |
child 18857 | f7ae30e51458 |
--- a/patches/gdm-11-fbconsole.diff Sat Sep 05 05:56:43 2009 +0000 +++ b/patches/gdm-11-fbconsole.diff Sat Sep 05 05:58:35 2009 +0000 @@ -45,7 +45,7 @@ + fd = open ("/dev/vt/0", O_WRONLY); + if (fd > 0) { + if (ioctl (fd, VT_ENABLED, &vtstat) == 0) { -+ if (vtstat) { ++ if (vtstat == 1) { + gdm_debug ("VT is enabled, so not forking fbconsole"); + run_fbconsole = FALSE; + }