emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Child-frame can not move to proper position when run "env GDK_SCALE=


From: martin rudalics
Subject: Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs"
Date: Wed, 10 Jan 2018 11:19:47 +0100

>> 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.

Which eventually falls back on `pos-visible-in-window-p', yes.

> That returns the position in pixels,
> unscaled, so I think it's correct.

Thus we can be sure that the caller of our position functions can
always contine to think in terms of unscaled positions so scaling is
"transparent"?

I think that after you fixed all this we should somewhere add a
paragraph to the Elisp manual explaining whether, why and how this
works.

martin



reply via email to

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