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
..
2018-02-05 19:53:55 -02:00
2017-10-17 10:25:42 +02:00
2018-07-24 11:41:48 +01: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-10-19 14:51:34 +02:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2018-09-27 08:10:07 +02:00
2018-06-26 13:48:49 +02:00
2018-06-26 13:48:49 +02:00
2018-08-27 10:51:44 +02:00
2018-11-12 14:15:54 +01:00
2017-10-19 12:09:53 +01:00
2018-10-12 17:24:23 +01:00
2018-06-14 09:52:23 +02:00
2018-06-01 19:20:38 +03:00
2017-07-27 14:23:09 +02:00
2018-10-19 13:44:03 +02:00
2018-10-19 14:51:34 +02:00
2018-10-19 14:51:34 +02:00
2018-05-18 09:13:37 +02:00
2018-03-13 11:17:28 -06:00
2012-12-19 08:31:30 +01:00
2018-10-12 14:46:24 +02:00
2018-08-24 08:40:10 +02:00
2018-04-09 10:40:47 +02:00
2018-10-29 14:38:17 +01:00
2014-03-05 09:52:05 +01:00
2018-01-16 14:54:52 +01:00
2016-06-07 18:19:24 +03:00
2016-07-12 16:20:46 +02:00
2018-10-19 14:51:34 +02:00
2017-10-17 10:25:42 +02:00
2018-10-19 14:51:34 +02:00
2018-10-29 14:38:17 +01:00
2018-06-01 19:20:38 +03:00
2018-03-13 11:17:29 -06:00
2012-12-19 08:31:30 +01:00
2017-07-27 14:23:09 +02:00
2018-02-16 12:33:02 +01:00
2018-01-12 13:48:54 +01:00
2018-03-06 10:19:07 +00:00
2016-07-12 16:20:46 +02:00
2012-11-01 14:00:04 +01:00
2016-02-04 17:01:04 +00:00
2018-08-24 08:40:11 +02:00
2016-07-12 16:19:16 +02:00
2016-02-04 17:01:04 +00:00
2018-05-11 14:33:40 +02:00
2016-07-12 16:19:16 +02:00
2018-05-11 14:33:40 +02:00
2016-02-04 17:01:04 +00:00
2016-07-12 16:19:16 +02:00
2018-08-24 08:40:10 +02:00
2017-02-08 14:59:36 +01:00
2016-06-07 18:19:24 +03:00
2018-02-09 13:52:15 +01:00
2018-02-16 12:23:21 +01:00
2018-03-06 10:19:07 +00:00
2016-07-12 16:20:46 +02:00
2018-10-19 14:51:34 +02:00
2018-07-03 18:38:54 +02:00
2018-04-10 11:21:54 +02:00
2018-01-25 15:02:00 +01:00