Thread (2 messages) 2 messages, 2 authors, 2005-01-18

[PATCH 4/6] fbcon: Save blank state last

flat view
STALE7932d

From: Antonino A. Daplas <hidden>
Date: 2005-01-17 21:41:28

Save blank state after do_blank|unblank_screen() since this flag is checked
in fbcon_blank().

Signed-off-by: Antonino Daplas <redacted>
---

 fbcon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -Nru a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
--- a/drivers/video/console/fbcon.c	2005-01-15 04:25:57 +08:00
+++ b/drivers/video/console/fbcon.c	2005-01-15 08:23:03 +08:00
@@ -2654,13 +2654,13 @@
 		vc = vc_cons[ops->currcon].d;
 
 		if (CON_IS_VISIBLE(vc)) {
-			ops->blank_state = blank;
-
 			if (blank)
 				do_blank_screen(0);
 			else
 				do_unblank_screen(0);
 		}
+		
+		ops->blank_state = blank;
 	}
 }
 




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help