diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-11-07 08:49:49 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-11-12 14:15:54 +0100 |
commit | f1aba960cc40ab65fa88c8678883bd2201708c55 (patch) | |
tree | 42b1a607bb0344a175db395425f9ac6d825b9faf /linux-user/nios2/target_cpu.h | |
parent | 6cdc2d189cb60a9d13e2d975b3fdb12eb00885cc (diff) |
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
Diffstat (limited to 'linux-user/nios2/target_cpu.h')
0 files changed, 0 insertions, 0 deletions