aboutsummaryrefslogtreecommitdiff
path: root/qemu-keymap.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-11-07 08:49:49 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-11-12 14:15:54 +0100
commitf1aba960cc40ab65fa88c8678883bd2201708c55 (patch)
tree42b1a607bb0344a175db395425f9ac6d825b9faf /qemu-keymap.c
parent6cdc2d189cb60a9d13e2d975b3fdb12eb00885cc (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 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions