mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
Remove unjustified hard dependency of normal.mod on gfxterm.
* include/grub/term.h (grub_term_output): New member fullscreen. * include/grub/gfxterm.h (grub_gfxterm_fullscreen): Removed. * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Make static. (grub_gfxterm): Set .fullscreen. * grub-core/normal/menu.c (menu_init): Use fullscreen. * grub-core/gfxmenu/gfxmenu.c (GRUB_MOD_INIT): Likewise.
This commit is contained in:
1 parent
37ed2c9b7e
commit
7086ad524f
6 files changed
+21
-8
No files matched your search
@@ -121,9 +121,9 @@ GRUB_MOD_INIT (gfxmenu)
|
||||
struct grub_term_output *term;
|
||||
|
||||
FOR_ACTIVE_TERM_OUTPUTS(term)
|
||||
if (grub_gfxmenu_try_hook && grub_strcmp (term->name, "gfxterm") == 0)
|
||||
if (grub_gfxmenu_try_hook && term->fullscreen)
|
||||
{
|
||||
grub_gfxterm_fullscreen ();
|
||||
term->fullscreen ();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user