|
From: | Robert Pluim |
Subject: | Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs" |
Date: | Tue, 09 Jan 2018 11:56:01 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
martin rudalics <address@hidden> writes: >>> What happens when you divide the pos values by two? >> >> When (/ x 2) and (/ y 2), It works! :-) > > So it's just the same issue as everywhere else. Now I wonder whether > the positions returned by `pos-visible-in-window-p' are wrong in this > case or the values passed to `set-frame-position'. Maybe that's just > a philosphical question though. I guess you meant posn-at-point. That returns the position in pixels, unscaled, so I think it's correct. Robert
[Prev in Thread] | Current Thread | [Next in Thread] |