]> git.eshelyaron.com Git - emacs.git/commit
Use scaled coordinates when calling into GTK
authorRobert Pluim <rpluim@gmail.com>
Wed, 24 Jan 2018 07:55:34 +0000 (08:55 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 24 Jan 2018 07:55:34 +0000 (08:55 +0100)
commit59db8dca030ba6a34d143c3cc6715f02beba1068
treef27726034b2bc43dcad5d3524f064a0a4ec8e79e
parent2892f05792e1f52b0966f92c5ed1aa75dcdd66a3
Use scaled coordinates when calling into GTK

This is part two 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/gtkutil.c (xg_set_geometry): Scale down the coordinates that we
pass to gtk_window_move and to gtk_window_parse_geometry.
* src/xterm.c (x_set_offset): Likewise.
src/gtkutil.c
src/xterm.c