* grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
bitmap. (grub_gfxterm_term_init): Likewise.
This commit is contained in:
parent
abc474ef4b
commit
bba79a1502
2 changed files with 6 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-04-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
|
||||
bitmap.
|
||||
(grub_gfxterm_term_init): Likewise.
|
||||
|
||||
2011-04-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Take into account the decorations the computing menu entry width.
|
||||
|
|
|
@ -345,7 +345,6 @@ grub_gfxterm_fullscreen (void)
|
|||
grub_video_swap_buffers ();
|
||||
grub_video_fill_rect (color, 0, 0, mode_info.width, mode_info.height);
|
||||
}
|
||||
bitmap = 0;
|
||||
|
||||
/* Select the font to use. */
|
||||
font_name = grub_env_get ("gfxterm_font");
|
||||
|
@ -394,12 +393,6 @@ grub_gfxterm_term_init (struct grub_term_output *term __attribute__ ((unused)))
|
|||
static void
|
||||
destroy_window (void)
|
||||
{
|
||||
if (bitmap)
|
||||
{
|
||||
grub_video_bitmap_destroy (bitmap);
|
||||
bitmap = 0;
|
||||
}
|
||||
|
||||
repaint_callback = 0;
|
||||
grub_virtual_screen_free ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue