[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle
From: |
Manuel Giraud |
Subject: |
bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle |
Date: |
Fri, 07 Apr 2023 13:56:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
> Maybe it's distracting at times, but this is how Emacs behaves with
> all the toolkits, or at least most of them. The size of the
> scroll-bar thumb is set according to the size of text, not according
> to the number of lines. So I don't think we should change this for
> just one configuration.
Ah ok. Now that I know the meaning I guess it is a feature ;-) I have
just checked and it is really less obvious (or distracting) with the
gtk3 backend. I don't know why.
For my patch, it shouldn't change any behaviour. It is just:
- less code in xterm.c
- one less call to XFillRectangle
But maybe there are some X11 optimization that I'm aware of: like it is
better to do two small area XFillRectangle than one big one. So it's up
to you to decide if it should be applied or just ditched.
Thanks.
--
Manuel Giraud
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Manuel Giraud, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Eli Zaretskii, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Manuel Giraud, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Eli Zaretskii, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle,
Manuel Giraud <=
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Manuel Giraud, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Eli Zaretskii, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Manuel Giraud, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Po Lu, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Po Lu, 2023/04/07
- bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle, Manuel Giraud, 2023/04/08