From: Po Lu Date: Sat, 8 Jan 2022 10:41:05 +0000 (+0000) Subject: * src/haikuterm.c (haiku_clear_frame): Fix clipping. X-Git-Tag: emacs-29.0.90~3198 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a80125ae370e001ffced20a07daea45eddea73c9;p=emacs.git * src/haikuterm.c (haiku_clear_frame): Fix clipping. --- diff --git a/src/haikuterm.c b/src/haikuterm.c index 2239770de95..77e030221ee 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -234,11 +234,11 @@ haiku_clear_frame (struct frame *f) block_input (); BView_draw_lock (view); BView_StartClip (view); - BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f) + 1, - FRAME_PIXEL_HEIGHT (f) + 1); + BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f), + FRAME_PIXEL_HEIGHT (f)); BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (f)); - BView_FillRectangle (view, 0, 0, FRAME_PIXEL_WIDTH (f) + 1, - FRAME_PIXEL_HEIGHT (f) + 1); + BView_FillRectangle (view, 0, 0, FRAME_PIXEL_WIDTH (f) , + FRAME_PIXEL_HEIGHT (f)); BView_EndClip (view); BView_draw_unlock (view); unblock_input ();