From: martin rudalics <rudalics@gmx.at>
To: emacs-devel@gnu.org
Subject: Re: [PATCH] Fix frameset-restore in the presence of scaling
Date: Fri, 19 Jan 2018 19:55:33 +0100 [thread overview]
Message-ID: <5A623F25.5090604@gmx.at> (raw)
In-Reply-To: <87efmnb5kr.fsf@gmail.com>
> Running emacs-26 with GDK_SCALING=2, frameset-restore will position
> 2nd and subsequent frames incorrectly if they are in the right half of
> the screen. Turns out that we're querying GTK for the dimensions of
> the display in order to ensure that frames remain on-screen, and those
> dimensions need scaling. Patch attached, tested on GTK 3.18, I'd
> appreciate if someone with a HiDPI screen and GTK >= 3.22 could
> confirm whether it works for them.
When 'left' and top' are negative, they specify a frame position
relative to the right or bottom edge of the display. Are such
specifications affected/corrected by your patch with scaling on?
martin
next prev parent reply other threads:[~2018-01-19 18:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 14:32 [PATCH] Fix frameset-restore in the presence of scaling Robert Pluim
2018-01-19 18:55 ` martin rudalics [this message]
2018-01-22 10:58 ` Robert Pluim
2018-01-22 12:49 ` Robert Pluim
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=5A623F25.5090604@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
/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.