Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4d8a2d986d3ee3ece9c3cefbb23425a22132492c
Commit:     4d8a2d986d3ee3ece9c3cefbb23425a22132492c
Parent:     15afdd433610c4ba0edf1f8a59915b3755af7365
Author:     Antonino Daplas <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 01:29:55 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 09:43:23 2007 -0700

    fbcon: delay the start of the cursor timer until a con_switch()
    
    As reported in Bugzilla Bug 9093, upon switching to X, a small rectangular
    cursor can still be seen blinking in the upper left part of the screen.  It 
is
    fbcon's text cursor.  This is caused by a strange ioctl(..., KDSETMODE,
    KD_TEXT) call done by something in userspace, perhaps by X itself, while the
    tty is still in graphics mode.  And when the tty is in KD_TEXT mode, the
    cursor timer is restarted.
    
    Although this is a userspace problem, we can work around it by delaying the
    restart of the cursor timer until an fbcon_switch() is called.  In other
    words, the cursor timer will not be restarted even if a KD_TEXT mode switch 
is
    requested.
    
    Regression potential: Present but low
    
    Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/console/fbcon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 97a0224..0f32f4a 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -2405,7 +2405,7 @@ static int fbcon_blank(struct vc_data *vc, int blank, int 
mode_switch)
                        update_screen(vc);
        }
 
-       if (fbcon_is_inactive(vc, info) ||
+       if (mode_switch || fbcon_is_inactive(vc, info) ||
            ops->blank_state != FB_BLANK_UNBLANK)
                fbcon_del_cursor_timer(info);
        else
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to