Subject: Re: bug#9723: 24.0.50; Emacs Clipboard crash

From: Eli Zaretskii <[email-masked]>
Date: Sat, 04 Feb 2012 19:45:44 +0200

> Date: Sat, 04 Feb 2012 18:24:25 +0100
> From: martin rudalics <[email-masked]>
> CC: [email-masked], [email-masked]
> 
>  >> 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.

Of course: if the frame's size changes, the sizes of its windows need
to be adjusted.  Since you surely understand that, I wonder what am I
missing here.

> Moreover, why communicate the presence of a scrollbar to the window
> manager and the toolkit?

We don't, we just communicate the total size of the frame to it.