]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/frame.c (gui_set_border_width): Revert confused changes
authorYuuki Harano <masm+github@masm11.me>
Sun, 5 Dec 2021 15:39:36 +0000 (00:39 +0900)
committerYuuki Harano <masm+github@masm11.me>
Sun, 5 Dec 2021 15:39:36 +0000 (00:39 +0900)
src/frame.c

index 98f1b80e423e4f28a92efa5a070a1a441c77c268..2b06bc821d06219c0b2807c2329345a0d1362a47 100644 (file)
@@ -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