Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38053
b: refs/heads/master
c: 212f263
h: refs/heads/master
i:
  38051: 8e41071
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Oct 3, 2006
1 parent 88db811 commit 83fd819
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 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: e299dd4d7c5f38a24045e0578049d872b62f21eb
refs/heads/master: 212f26398f63bc905ea28f55b31d4ecd4a21a33b
17 changes: 11 additions & 6 deletions trunk/drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,8 @@ static void fb_flashcursor(void *private)
vc = vc_cons[ops->currcon].d;

if (!vc || !CON_IS_VISIBLE(vc) ||
fbcon_is_inactive(vc, info) ||
registered_fb[con2fb_map[vc->vc_num]] != info ||
vc_cons[ops->currcon].d->vc_deccm != 1) {
vc->vc_deccm != 1) {
release_console_sem();
return;
}
Expand Down Expand Up @@ -2166,7 +2165,12 @@ static int fbcon_switch(struct vc_data *vc)
fbcon_del_cursor_timer(old_info);
}

fbcon_add_cursor_timer(info);
if (fbcon_is_inactive(vc, info) ||
ops->blank_state != FB_BLANK_UNBLANK)
fbcon_del_cursor_timer(info);
else
fbcon_add_cursor_timer(info);

set_blitting_type(vc, info);
ops->cursor_reset = 1;

Expand Down Expand Up @@ -2276,10 +2280,11 @@ static int fbcon_blank(struct vc_data *vc, int blank, int mode_switch)
update_screen(vc);
}

if (!blank)
fbcon_add_cursor_timer(info);
else
if (fbcon_is_inactive(vc, info) ||
ops->blank_state != FB_BLANK_UNBLANK)
fbcon_del_cursor_timer(info);
else
fbcon_add_cursor_timer(info);

return 0;
}
Expand Down

0 comments on commit 83fd819

Please sign in to comment.