From: Alexander Gramiak Date: Sat, 27 Apr 2019 03:32:06 +0000 (-0600) Subject: * src/xdisp.c: Only check FRAME_RIF for graphical frames X-Git-Tag: emacs-27.0.90~3068 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f257a0a5b44b58e4d0dcd9cf2d66b31ab80500a5;p=emacs.git * src/xdisp.c: Only check FRAME_RIF for graphical frames --- diff --git a/src/xdisp.c b/src/xdisp.c index 9f0739e0c61..d52d1333a04 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11599,7 +11599,8 @@ clear_garbaged_frames (void) clear_current_matrices (f); #ifdef HAVE_WINDOW_SYSTEM - if (FRAME_RIF (f)->clear_under_internal_border) + if (FRAME_WINDOW_P (f) + && FRAME_RIF (f)->clear_under_internal_border) FRAME_RIF (f)->clear_under_internal_border (f); #endif fset_redisplay (f); @@ -11671,7 +11672,8 @@ echo_area_display (bool update_frame_p) n = redisplay_mode_lines (FRAME_ROOT_WINDOW (f), false); #ifdef HAVE_WINDOW_SYSTEM - if (FRAME_RIF (f)->clear_under_internal_border) + if (FRAME_WINDOW_P (f) + && FRAME_RIF (f)->clear_under_internal_border) FRAME_RIF (f)->clear_under_internal_border (f); #endif } @@ -14497,7 +14499,8 @@ redisplay_internal (void) goto retry; #ifdef HAVE_WINDOW_SYSTEM - if (FRAME_RIF (f)->clear_under_internal_border) + if (FRAME_WINDOW_P (f) + && FRAME_RIF (f)->clear_under_internal_border) FRAME_RIF (f)->clear_under_internal_border (f); #endif /* Prevent various kinds of signals during display