Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci clear the screen when returning from X



details:   https://anonhg.NetBSD.org/src/rev/abfa2aafa9cc
branches:  trunk
changeset: 772970:abfa2aafa9cc
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sun Jan 22 19:00:45 2012 +0000

description:
clear the screen when returning from X

diffstat:

 sys/dev/pci/voodoofb.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d2e8ccec3c69 -r abfa2aafa9cc sys/dev/pci/voodoofb.c
--- a/sys/dev/pci/voodoofb.c    Sun Jan 22 18:36:14 2012 +0000
+++ b/sys/dev/pci/voodoofb.c    Sun Jan 22 19:00:45 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: voodoofb.c,v 1.34 2012/01/19 18:35:27 macallan Exp $   */
+/*     $NetBSD: voodoofb.c,v 1.35 2012/01/22 19:00:45 macallan Exp $   */
 
 /*
  * Copyright (c) 2005, 2006 Michael Lorenz
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.34 2012/01/19 18:35:27 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.35 2012/01/22 19:00:45 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1110,6 +1110,7 @@
                                           sc->sc_cmap_green[i],
                                           sc->sc_cmap_blue[i]);
                                }
+                               voodoofb_clearscreen(sc);
                                vcons_redraw_screen(ms);
                        } else {
                                voodoofb_drm_unmap(sc);



Home | Main Index | Thread Index | Old Index