Gerd Hoffmann f1aba960cc ui/gtk: fix cursor in egl mode
In egl mode the scale_x and scale_y variables are not set, so the
scaling logic in the mouse motion event handler does not work.

Fix that.  Also scale the cursor position in gd_egl_cursor_position().

Reported-by: Chen Zhang <tgfbeta@icloud.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Chen Zhang <tgfbeta@icloud.com>
Message-id: 20181107074949.13805-1-kraxel@redhat.com
2018-11-12 14:15:54 +01:00
..
2017-10-17 10:25:42 +02:00
2017-11-10 14:27:29 +01:00
2018-08-24 08:40:10 +02:00
2017-07-27 14:23:09 +02:00
2018-11-12 14:15:54 +01:00
2018-10-12 17:24:23 +01:00
2018-05-18 09:13:37 +02:00
2018-10-12 14:46:24 +02:00
2018-04-09 10:40:47 +02:00
2017-10-17 10:25:42 +02:00
2018-03-13 11:17:29 -06:00
2017-07-27 14:23:09 +02:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00