]> git.pld-linux.org Git - packages/kernel.git/blame - kernel-fbcon-margins.patch
- _rel 1.19,
[packages/kernel.git] / kernel-fbcon-margins.patch
CommitLineData
9b7c9130
JB
1This fixes "margin colour" (colour used to clear margins - e.g. a half of line
2at the bottom of 100x37 console on 800x600 framebuffer).
3
4I don't know what was the intention behind using attr_bgcol_ec() here, but it
5caused using of background colour of last erase character to clear margins -
6which definitely isn't what we want...
7This 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) {
This page took 0.069997 seconds and 4 git commands to generate.