Scale monitor dimensions obtained from GTK
commit2892f05792e1f52b0966f92c5ed1aa75dcdd66a3
authorRobert Pluim <rpluim@gmail.com>
Wed, 24 Jan 2018 07:53:59 +0000 (24 08:53 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 24 Jan 2018 07:53:59 +0000 (24 08:53 +0100)
tree519fe53a75493426f6a3c9335297162c85c9676f
parent1fc98ed073a2d26ad941748ecb13aa6f47dd7b01
Scale monitor dimensions obtained from GTK

This is part one of a two part fix for the GTK scaling
problems.  See the thread starting at
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html
for an explanation of why it has been added to Emacs 26.

* src/xfns.c (Fx_display_monitor_attributes_list): Take scaling factor
into account when using GTK to query the monitor dimensions, which
allows frameset-restore to position frames correctly.
src/xfns.c