From: Yuuki Harano Date: Sun, 5 Dec 2021 15:39:36 +0000 (+0900) Subject: * src/frame.c (gui_set_border_width): Revert confused changes X-Git-Tag: emacs-29.0.90~3615 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f99745c78ec13c02817dbd10eb1c4c041add7c21;p=emacs.git * src/frame.c (gui_set_border_width): Revert confused changes --- diff --git a/src/frame.c b/src/frame.c index 98f1b80e423..2b06bc821d0 100644 --- a/src/frame.c +++ b/src/frame.c @@ -4788,17 +4788,10 @@ gui_set_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) if (border_width == f->border_width) return; -#ifndef HAVE_PGTK if (FRAME_NATIVE_WINDOW (f) != 0) error ("Cannot change the border width of a frame"); -#endif f->border_width = border_width; - -#ifdef HAVE_PGTK - if (FRAME_TERMINAL (f)->frame_rehighlight_hook) - (*FRAME_TERMINAL (f)->frame_rehighlight_hook) (f); -#endif } void