all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs"
@ 2018-01-08 11:53 Feng Shu
  2018-01-08 18:17 ` martin rudalics
  0 siblings, 1 reply; 21+ messages in thread
From: Feng Shu @ 2018-01-08 11:53 UTC (permalink / raw)
  To: emacs-devel; +Cc: Feng Shu


When I run "env GDK_SCALE=2 emacs", the below code can not work properly

```
(let ((test (let ((after-make-frame-functions nil))
              (make-frame
               `((parent-frame . ,(window-frame))
                 (width . 50)
                 (height . 1)))))
      (pos (posn-x-y (posn-at-point (point) (selected-window)))))
  (set-frame-position test (car pos) (cdr pos)))<I>
```

When I eval the code at the <I>, the new created frame can not move to
<I>, it move to the wrong position.




-- 




^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2018-01-11 10:54 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-08 11:53 Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs" Feng Shu
2018-01-08 18:17 ` martin rudalics
2018-01-08 23:03   ` Feng Shu
2018-01-09  9:43     ` martin rudalics
2018-01-09 10:56       ` Robert Pluim
2018-01-10 10:19         ` martin rudalics
2018-01-10 13:45           ` Robert Pluim
2018-01-11 10:54             ` martin rudalics
2018-01-09 10:06     ` Robert Pluim
2018-01-10  0:52       ` Dmitry Gutov
2018-01-10 13:19         ` Stefan Monnier
2018-01-10 13:48           ` Robert Pluim
2018-01-10 14:27             ` Dmitry Gutov
2018-01-10 15:08               ` Robert Pluim
2018-01-10 15:36                 ` Dmitry Gutov
2018-01-10 15:58                   ` Robert Pluim
2018-01-10 16:24                     ` Dmitry Gutov
2018-01-10 10:19       ` martin rudalics
2018-01-10 13:35         ` Robert Pluim
2018-01-11 10:54           ` martin rudalics
2018-01-11  0:16         ` Dmitry Gutov

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.