bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34569: 26.1.90; Zero wide scroll bars


From: martin rudalics
Subject: bug#34569: 26.1.90; Zero wide scroll bars
Date: Sun, 24 Feb 2019 09:43:37 +0100

>> But yes: One way to fix the aborts should be to disallow setting the
>> 'scroll-bar-width' frame parameter to zero.
>
> Then I think we should do that.

It means though that we have to do some non-standard surgery in the
frame parameters area.  Note that x_report_frame_params inserts the
zero value automatically via

  store_in_alist (alistptr, Qscroll_bar_width,
                  (! FRAME_HAS_VERTICAL_SCROLL_BARS (f)
                   ? make_fixnum (0)
                   : FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0
                   ? make_fixnum (FRAME_CONFIG_SCROLL_BAR_WIDTH (f))
                   /* nil means "use default width"
                      for non-toolkit scroll bar.
                      ruler-mode.el depends on this.  */
                   : Qnil));

What should we use instead?

martin





reply via email to

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