[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
- Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Feng Shu, 2018/01/08
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Robert Pluim, 2018/01/09
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Dmitry Gutov, 2018/01/09
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Stefan Monnier, 2018/01/10
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Robert Pluim, 2018/01/10
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Dmitry Gutov, 2018/01/10
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Robert Pluim, 2018/01/10
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Dmitry Gutov, 2018/01/10
- Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs", Robert Pluim, 2018/01/10