Blame SOURCES/0042-Don-t-draw-a-border-around-the-menu.patch

d9d99f
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
d9d99f
From: William Jon McCann <william.jon.mccann@gmail.com>
d9d99f
Date: Wed, 15 May 2013 16:47:33 -0400
d9d99f
Subject: [PATCH] Don't draw a border around the menu
d9d99f
d9d99f
It looks cleaner without it.
d9d99f
---
d9d99f
 grub-core/normal/menu_text.c | 43 -------------------------------------------
d9d99f
 1 file changed, 43 deletions(-)
d9d99f
d9d99f
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
d9d99f
index 452d55bf9ff..1ed2bd92cf8 100644
d9d99f
--- a/grub-core/normal/menu_text.c
d9d99f
+++ b/grub-core/normal/menu_text.c
d9d99f
@@ -108,47 +108,6 @@ grub_print_message_indented (const char *msg, int margin_left, int margin_right,
d9d99f
   grub_print_message_indented_real (msg, margin_left, margin_right, term, 0);
d9d99f
 }
d9d99f
 
d9d99f
-static void
d9d99f
-draw_border (struct grub_term_output *term, const struct grub_term_screen_geometry *geo)
d9d99f
-{
d9d99f
-  int i;
d9d99f
-
d9d99f
-  grub_term_setcolorstate (term, GRUB_TERM_COLOR_NORMAL);
d9d99f
-
d9d99f
-  grub_term_gotoxy (term, (struct grub_term_coordinate) { geo->first_entry_x - 1,
d9d99f
-	geo->first_entry_y - 1 });
d9d99f
-  grub_putcode (GRUB_UNICODE_CORNER_UL, term);
d9d99f
-  for (i = 0; i < geo->entry_width + 1; i++)
d9d99f
-    grub_putcode (GRUB_UNICODE_HLINE, term);
d9d99f
-  grub_putcode (GRUB_UNICODE_CORNER_UR, term);
d9d99f
-
d9d99f
-  for (i = 0; i < geo->num_entries; i++)
d9d99f
-    {
d9d99f
-      grub_term_gotoxy (term, (struct grub_term_coordinate) { geo->first_entry_x - 1,
d9d99f
-	    geo->first_entry_y + i });
d9d99f
-      grub_putcode (GRUB_UNICODE_VLINE, term);
d9d99f
-      grub_term_gotoxy (term,
d9d99f
-			(struct grub_term_coordinate) { geo->first_entry_x + geo->entry_width + 1,
d9d99f
-			    geo->first_entry_y + i });
d9d99f
-      grub_putcode (GRUB_UNICODE_VLINE, term);
d9d99f
-    }
d9d99f
-
d9d99f
-  grub_term_gotoxy (term,
d9d99f
-		    (struct grub_term_coordinate) { geo->first_entry_x - 1,
d9d99f
-			geo->first_entry_y - 1 + geo->num_entries + 1 });
d9d99f
-  grub_putcode (GRUB_UNICODE_CORNER_LL, term);
d9d99f
-  for (i = 0; i < geo->entry_width + 1; i++)
d9d99f
-    grub_putcode (GRUB_UNICODE_HLINE, term);
d9d99f
-  grub_putcode (GRUB_UNICODE_CORNER_LR, term);
d9d99f
-
d9d99f
-  grub_term_setcolorstate (term, GRUB_TERM_COLOR_NORMAL);
d9d99f
-
d9d99f
-  grub_term_gotoxy (term,
d9d99f
-		    (struct grub_term_coordinate) { geo->first_entry_x - 1,
d9d99f
-			(geo->first_entry_y - 1 + geo->num_entries
d9d99f
-			 + GRUB_TERM_MARGIN + 1) });
d9d99f
-}
d9d99f
-
d9d99f
 static int
d9d99f
 print_message (int nested, int edit, struct grub_term_output *term, int dry_run)
d9d99f
 {
d9d99f
@@ -406,8 +365,6 @@ grub_menu_init_page (int nested, int edit,
d9d99f
 
d9d99f
   grub_term_normal_color = grub_color_menu_normal;
d9d99f
   grub_term_highlight_color = grub_color_menu_highlight;
d9d99f
-  if (geo->border)
d9d99f
-    draw_border (term, geo);
d9d99f
   grub_term_normal_color = old_color_normal;
d9d99f
   grub_term_highlight_color = old_color_highlight;
d9d99f
   geo->timeout_y = geo->first_entry_y + geo->num_entries