diff --git a/src/frame.c b/src/frame.c index f6053fca3ef..4c21ce5b51b 100644 --- a/src/frame.c +++ b/src/frame.c @@ -168,8 +168,10 @@ frame_inhibit_resize (struct frame *f, bool horizontal, Lisp_Object parameter) || (!horizontal && !NILP (fullscreen) && !EQ (fullscreen, Qfullwidth)) || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) - : ((horizontal && f->inhibit_horizontal_resize) - || (!horizontal && f->inhibit_vertical_resize))); + : ((horizontal && f->inhibit_horizontal_resize + && !EQ (parameter, Qscroll_bar_width)) + || (!horizontal && f->inhibit_vertical_resize + && !EQ (parameter, Qscroll_bar_height)))); return inhibit; }