From 9c7c716d87ef787bd192c71879109678c9bb9946 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 13 Sep 2007 22:24:42 +0000 Subject: [PATCH] (mac_initialize): Don't call mac_init_fringe here. (mac_term_init): Call here instead, passing rif. --- src/macterm.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/macterm.c b/src/macterm.c index 8b3cee42f5c..f14193a2d56 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -12590,6 +12590,10 @@ mac_term_init (display_name, xrm_option, resource_name) x_display_name_list); dpyinfo->name_list_element = XCAR (x_display_name_list); +#if USE_CG_DRAWING + mac_init_fringe (terminal->rif); +#endif + UNBLOCK_INPUT; return dpyinfo; @@ -12801,6 +12805,7 @@ mac_create_terminal (struct mac_display_info *dpyinfo) off the bottom. */ #endif + return terminal; } @@ -12846,8 +12851,6 @@ mac_initialize () #if USE_CG_DRAWING init_cg_color (); - - mac_init_fringe (); #endif UNBLOCK_INPUT; -- 2.39.5