[Top][All Lists]

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

bug#9723: 24.0.50; Emacs Clipboard crash

From: martin rudalics
Subject: bug#9723: 24.0.50; Emacs Clipboard crash
Date: Sat, 04 Feb 2012 18:24:25 +0100

>> Scrollbars and fringes pertain to Emacs windows, not Emacs frames.  What
>> sense does it make to count them for frames?
> You need this value to communicate with the window manager and the
> toolkit.  And that value should include one scroll bar and one pair of
> fringes, in addition to text width.  Storing that value in a separate
> struct member is a convenience device, nothing more.

But in change_frame_size_1 we use "this value" to adjust the sizes of
Emacs windows.  Moreover, why communicate the presence of a scrollbar to
the window manager and the toolkit?  Suppose I do

(set-frame-parameter nil 'vertical-scroll-bars nil)
(set-window-scroll-bars nil 16 'right)

then my window has scrollbars and the frame doesn't.  Confusing.


reply via email to

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