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

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

bug#37752: Scaling factor inconsistencies between X with and without GTK


From: Carlos Pita
Subject: bug#37752: Scaling factor inconsistencies between X with and without GTK
Date: Tue, 15 Oct 2019 05:09:04 -0300

>     Carlos> int scale = 1;
>     Carlos> #ifdef USE_GTK
>     Carlos>   scale = xg_get_scale (f);
>     Carlos> #endif
>     Carlos> FRAME_CR_SURFACE (f) =
>     Carlos>     cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
>     Carlos>       scale * FRAME_PIXEL_WIDTH (f),
>     Carlos>       scale * FRAME_PIXEL_HEIGHT (f));
>
> I canʼt find that code in master.

You're right, this and other xg_get_scale usages were removed wrt
emacs-26. Just one of them remains.

> Sure, that makes sense. Do you have a test case showing a display
> difference, or is this just code cleanup?

It's just code cleanup.

Best regards
--
Carlos





reply via email to

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