qemu-e2k/ui
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
..
keycodemapdb@6b3d716e2b
shader
Makefile.objs
cocoa.m
console-gl.c
console.c
curses.c
curses_keys.h
cursor.c
cursor_hidden.xpm
cursor_left_ptr.xpm
egl-context.c
egl-headless.c
egl-helpers.c
gtk-egl.c ui/gtk: fix cursor in egl mode 2018-11-12 14:15:54 +01:00
gtk-gl-area.c
gtk.c
input-keymap.c
input-legacy.c
input-linux.c
input.c
keymaps.c
keymaps.h
qemu-pixman.c
qemu-x509.h
sdl.c
sdl2-2d.c
sdl2-gl.c
sdl2-input.c
sdl2.c SDL: set a hint to not bypass the window compositor 2018-10-29 14:38:17 +01:00
sdl_keysym.h
sdl_zoom.c
sdl_zoom.h
sdl_zoom_template.h
shader.c
spice-core.c
spice-display.c spice: prepare for upcoming spice-server change 2018-10-29 14:38:17 +01:00
spice-input.c
trace-events
vgafont.h
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zrle.inc.c
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-stubs.c
vnc-ws.c
vnc-ws.h
vnc.c
vnc.h
vnc_keysym.h
x_keymap.c
x_keymap.h