diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-03-29 18:45:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-03-29 18:45:23 +0000 |
commit | a95beab19433d3a6df179e7b93abc34e3381ba65 (patch) | |
tree | dcc885b2d9ab409e47f9dc2eac06e1a92b164e61 /sys/dev/pci/vga_pci.c | |
parent | 625346ceadd5d9f4499e926d38201f5c5157b71e (diff) |
Restore user-loaded vga fonts upon X11->VT switch and upon resume; from
dan mclaughlin, thanks!
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
-rw-r--r-- | sys/dev/pci/vga_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c index f7445375e36..1a1a896bf35 100644 --- a/sys/dev/pci/vga_pci.c +++ b/sys/dev/pci/vga_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga_pci.c,v 1.83 2015/03/14 03:38:49 jsg Exp $ */ +/* $OpenBSD: vga_pci.c,v 1.84 2015/03/29 18:45:22 miod Exp $ */ /* $NetBSD: vga_pci.c,v 1.3 1998/06/08 06:55:58 thorpej Exp $ */ /* @@ -591,6 +591,7 @@ vga_restore_state(struct vga_pci_softc *sc) for (i = 0; i < sizeof(sc->sc_save_gdc); i++) _vga_gdc_write(vh, i, *buf++); + vga_restore_fonts(vc); vga_restore_palette(vc); /* |