-/* $OpenBSD: wsdisplay.c,v 1.151 2023/01/10 12:47:19 tb Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.152 2023/01/10 16:33:18 tobhe Exp $ */
/* $NetBSD: wsdisplay.c,v 1.82 2005/02/27 00:27:52 perry Exp $ */
/*
scr = sc->sc_scr[active];
/*
- * We want to switch out of graphics mode for the suspend, but
- * only if we're in WSDISPLAY_MODE_MAPPED.
+ * We want to switch out of graphics mode for the suspend
*/
retry:
idx = WSDISPLAY_MAXSCREEN;
- if (scr->scr_flags & SCR_GRAPHICS &&
- (scr->scr_flags & SCR_DUMBFB) == 0) {
+ if (scr->scr_flags & SCR_GRAPHICS) {
for (idx = 0; idx < WSDISPLAY_MAXSCREEN; idx++) {
if (sc->sc_scr[idx] == NULL || sc->sc_scr[idx] == scr)
continue;