Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60923
b: refs/heads/master
c: b6e8f00
h: refs/heads/master
i:
  60921: e4d2ee0
  60919: a53ec9d
v: v3
  • Loading branch information
izumi authored and Linus Torvalds committed Jul 17, 2007
1 parent e287647 commit ca8f1db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a3f28817e2a3f0be67ec8afa0cfd779adb5d41d
refs/heads/master: b6e8f00fcd56b426371334d722d1f3fb251b7290
8 changes: 5 additions & 3 deletions trunk/drivers/char/vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -3506,20 +3506,22 @@ void do_blank_screen(int entering_gfx)
}
return;
}
if (blank_state != blank_normal_wait)
return;
blank_state = blank_off;

/* entering graphics mode? */
if (entering_gfx) {
hide_cursor(vc);
save_screen(vc);
vc->vc_sw->con_blank(vc, -1, 1);
console_blanked = fg_console + 1;
blank_state = blank_off;
set_origin(vc);
return;
}

if (blank_state != blank_normal_wait)
return;
blank_state = blank_off;

/* don't blank graphics */
if (vc->vc_mode != KD_TEXT) {
console_blanked = fg_console + 1;
Expand Down

0 comments on commit ca8f1db

Please sign in to comment.