unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: 37752@debbugs.gnu.org
Subject: bug#37752: Scaling factor inconsistencies between X with and without GTK
Date: Tue, 15 Oct 2019 05:09:04 -0300	[thread overview]
Message-ID: <CAELgYheft=+JZ_MyDoodJFtQ-rHjEbG-hrsLLuS0hiSNhGCwgA@mail.gmail.com> (raw)
In-Reply-To: <m2d0ey4f29.fsf@gmail.com>

>     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	other threads:[~2019-10-15  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15  0:21 bug#37752: Scaling factor inconsistencies between X with and without GTK Carlos Pita
2019-10-15  7:56 ` Robert Pluim
2019-10-15  8:09   ` Carlos Pita [this message]
2019-10-15  9:37     ` Robert Pluim
2019-10-15 22:40       ` Carlos Pita

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAELgYheft=+JZ_MyDoodJFtQ-rHjEbG-hrsLLuS0hiSNhGCwgA@mail.gmail.com' \
    --to=carlosjosepita@gmail.com \
    --cc=37752@debbugs.gnu.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).