Get positions of menus and tooltips right on HiDPI
commit4198b4d985db77ad6ae372fa048250e93de5013c
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 16 Jul 2017 14:42:26 +0000 (16 16:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jul 2017 14:58:57 +0000 (17 16:58 +0200)
tree7f2744d0b5cac4d4e1915c1c8abaa0bfa5a2c7fb
parent8729634c511cd564353ff17eb6dc06e87d081035
Get positions of menus and tooltips right on HiDPI

* src/gtkutil.c (xg_get_scale): New function.
(xg_show_tooltip): Use it.

* src/xmenu.c (create_and_show_popup_menu): Put menus in the
right place.
src/gtkutil.c
src/gtkutil.h
src/xmenu.c