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: Robert Pluim
Subject: bug#37752: Scaling factor inconsistencies between X with and without GTK
Date: Tue, 15 Oct 2019 11:37:02 +0200

>>>>> On Tue, 15 Oct 2019 05:09:04 -0300, Carlos Pita 
>>>>> <carlosjosepita@gmail.com> said:

    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.

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

If thatʼs in code thatʼs independent of GTK3 usage, then by all means
fix it.

Robert





reply via email to

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