]>
Commit | Line | Data |
---|---|---|
9b7c9130 JB |
1 | This fixes "margin colour" (colour used to clear margins - e.g. a half of line |
2 | at the bottom of 100x37 console on 800x600 framebuffer). | |
3 | ||
4 | I don't know what was the intention behind using attr_bgcol_ec() here, but it | |
5 | caused using of background colour of last erase character to clear margins - | |
6 | which definitely isn't what we want... | |
7 | This patch changes margin colour to black (or colour 0 in palette modes). | |
8 | ||
9 | -- Jakub Bogusz <qboosh@pld-linux.org> | |
10 | ||
11 | --- linux-2.6.0-test2/drivers/video/console/fbcon.c.orig 2003-07-14 05:36:32.000000000 +0200 | |
12 | +++ linux-2.6.0-test2/drivers/video/console/fbcon.c 2003-07-31 00:53:26.000000000 +0200 | |
13 | @@ -502,7 +502,7 @@ | |
14 | unsigned int bs = info->var.yres - bh; | |
15 | struct fb_fillrect region; | |
16 | ||
17 | - region.color = attr_bgcol_ec(bgshift, vc); | |
18 | + region.color = 0; | |
19 | region.rop = ROP_COPY; | |
20 | ||
21 | if (rw && !bottom_only) { |