gdk: Fix coordinates in dnd events
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Dec 2019 16:56:49 +0000 (11:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Dec 2019 16:56:49 +0000 (11:56 -0500)
commit677c4b140ce6ad22726c6e3c39b56f27674989dd
tree84eca95abfb5c9cfa039b2d1c475a6da551f66e2
parent772ac2b0c587b9bd0927d339550341a547b70057
gdk: Fix coordinates in dnd events

Don't store coordinates as shorts. Use doubles,
as everywhere else. Also add x, y in addition
to x_root, y_root, and actually return those
in gdk_event_get_coords.
gdk/gdkevents.c
gdk/gdkeventsprivate.h