summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-12-06 00:39:36 +0900
committerYuuki Harano <masm+github@masm11.me>2021-12-06 00:39:36 +0900
commitf99745c78ec13c02817dbd10eb1c4c041add7c21 (patch)
tree496a2415c496f5f1534ef3701b7c44d53af45dff /src/frame.c
parentaacc371ac5edb8c4b48bbf7d03891e483f5ef79d (diff)
downloademacs-f99745c78ec13c02817dbd10eb1c4c041add7c21.tar.gz
* src/frame.c (gui_set_border_width): Revert confused changes
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c7
1 files changed, 0 insertions, 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