[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 23 Dec 2016 21:30:17 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1
So I have successfully compiled emacs 25.1.1 to make tests.
I applied the patch given in message #13, but it works partially, I will
discuss about it later.
Now, to advance emacs support for HIDPI I would like to fix the
scrollbar. Do all people here agree that the scrollbar has a width
twice as normal? The reason is that in src/gtkutil.c there is this code:
return scroll_bar_width_for_theme * xg_get_gdk_scale ();
where xg_get_gdk_scale returns GDK_SCALE variable, i.e. 2 in general.
If I replace with:
the scrollbar is shown correctly.
This change was made by
I think there was an error there, or perhaps in the mean time (since
May 2015) GTK has changed in a way so that scrollbars are taken into
Anyway, using "GTK_SCALE=2 emacs" shows correctly the scrollbar with my
Note that GDK_DPI_SCALE is only for font, AFAIU from
What do you think? Would you commit such a modification?
I would like to look into other issues as well.
- bug#20619: Scrollbars,
Eugen Dedu <=