From f99745c78ec13c02817dbd10eb1c4c041add7c21 Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Mon, 6 Dec 2021 00:39:36 +0900 Subject: [PATCH] * src/frame.c (gui_set_border_width): Revert confused changes --- src/frame.c | 7 ------- 1 file changed, 7 deletions(-) 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 -- 2.39.5