From: Alan Third <alan@idiocy.org>
To: Yuuki Harano <masm+emacs@masm11.me>,
moonsolo@gmail.com, 52042@debbugs.gnu.org
Subject: bug#52042: 29.0.50; [feature/pgtk] issue in moving a fullscreen emacs frame from a scale@1x display to a scale@2x display
Date: Thu, 2 Dec 2021 22:12:48 +0000 [thread overview]
Message-ID: <YalE4I5mxX05cX4X@idiocy.org> (raw)
In-Reply-To: <YalEMfbZIXbdbpf6@idiocy.org>
On Thu, Dec 02, 2021 at 10:09:54PM +0000, Alan Third wrote:
> On Thu, Dec 02, 2021 at 12:08:56AM +0900, Yuuki Harano wrote:
> > Maybe, I need to recreate cairo_surface_t when monitor
> > is changed. I looked for such a signal but nothing found.
>
> On the NS port whenever we create the context for drawing to the
> bitmap we compare the dimensions/scaling. It's not ideal but it
> doesn't seem to cause any noticeable slowdown. Perhaps PGTK can do
> something similar?
But then, having said that, I've just remembered we also call
expose_frame when the scale changes. That may not be possible if
there's no signal to let you know.
--
Alan Third
prev parent reply other threads:[~2021-12-02 22:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAOR66hntRyn0hZA_-vMhN=kGhw7x=dOxbfGJYQp-CBzX_b__mw@mail.gmail.com>
2021-11-30 15:59 ` bug#52042: 29.0.50; [feature/pgtk] issue in moving a fullscreen emacs frame from a scale@1x display to a scale@2x display Yuuki Harano
2021-11-30 16:10 ` Fred Fu
2021-12-01 15:08 ` Yuuki Harano
2021-12-01 15:20 ` Fred Fu
2021-12-01 15:47 ` Yuuki Harano
2021-12-04 7:41 ` Yuuki Harano
2021-12-02 22:09 ` Alan Third
2021-12-02 22:12 ` Alan Third [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YalE4I5mxX05cX4X@idiocy.org \
--to=alan@idiocy.org \
--cc=52042@debbugs.gnu.org \
--cc=masm+emacs@masm11.me \
--cc=moonsolo@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.