mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
Send blend_text_bg when any backgorund is set as opposed to only when streteched background is set
This commit is contained in:
1 parent
6d46121efb
commit
cf4d3fa640
1 file changed
+2
-1
@@ -1174,7 +1174,6 @@ grub_gfxterm_background_image_cmd (grub_extcmd_context_t ctxt,
|
|||||||
/* Replace the original bitmap with the scaled one. */
|
/* Replace the original bitmap with the scaled one. */
|
||||||
grub_video_bitmap_destroy (bitmap);
|
grub_video_bitmap_destroy (bitmap);
|
||||||
bitmap = scaled_bitmap;
|
bitmap = scaled_bitmap;
|
||||||
blend_text_bg = 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1182,6 +1181,8 @@ grub_gfxterm_background_image_cmd (grub_extcmd_context_t ctxt,
|
|||||||
/* If bitmap was loaded correctly, display it. */
|
/* If bitmap was loaded correctly, display it. */
|
||||||
if (bitmap)
|
if (bitmap)
|
||||||
{
|
{
|
||||||
|
blend_text_bg = 1;
|
||||||
|
|
||||||
/* Determine bitmap dimensions. */
|
/* Determine bitmap dimensions. */
|
||||||
bitmap_width = grub_video_bitmap_get_width (bitmap);
|
bitmap_width = grub_video_bitmap_get_width (bitmap);
|
||||||
bitmap_height = grub_video_bitmap_get_height (bitmap);
|
bitmap_height = grub_video_bitmap_get_height (bitmap);
|
||||||
|
|||||||
Reference in new issue
Block a user