emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/pgtk f99745c 3/3: * src/frame.c (gui_set_border_width): Revert c


From: Yuuki Harano
Subject: feature/pgtk f99745c 3/3: * src/frame.c (gui_set_border_width): Revert confused changes
Date: Sun, 5 Dec 2021 10:44:24 -0500 (EST)

branch: feature/pgtk
commit f99745c78ec13c02817dbd10eb1c4c041add7c21
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Yuuki Harano <masm+github@masm11.me>

    * 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 98f1b80..2b06bc8 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]