diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2014-09-16 12:40:26 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-09-30 13:39:16 +0300 |
commit | f74a289b9480648a654e5afd8458c2263c03a1e1 (patch) | |
tree | 80f1316690a2137b7461e7648039c27e3b1f5390 /security | |
parent | c8b8888f097c7df260cf5beaf2e3a325660a16a4 (diff) | |
download | linux-f74a289b9480648a654e5afd8458c2263c03a1e1.tar.bz2 |
framebuffer: fix border color
The framebuffer code uses the current background color to fill the border
when switching consoles, however, this results in inconsistent behavior.
For example:
- start Midnigh Commander
- the border is black
- switch to another console and switch back
- the border is cyan
- type something into the command line in mc
- the border is cyan
- switch to another console and switch back
- the border is black
- press F9 to go to menu
- the border is black
- switch to another console and switch back
- the border is dark blue
When switching to a console with Midnight Commander, the border is random
color that was left selected by the slang subsystem.
This patch fixes this inconsistency by always using black as the
background color when switching consoles.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions