qemu-irix/ui
Daniel P. Berrange 2df2041036 ui: remove bogus call to reset_keys() in vnc_init_state
The vnc_init_state method calls reset_keys() to reset the
modifier key state. This was originally added in

  commit 53762ddb27
  Author: malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
  Date:   Mon Dec 1 20:57:52 2008 +0000

    Reset the key modifiers upon client connect

This was valid at this time because there was only the
single VncState object which was persistent across client
connections and so needed resetting.

The persistent data was later split off into VncDisplay
and VncState was allocated at time of client connection:

  commit 753b405331
  Author: aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
  Date:   Mon Feb 16 14:59:30 2009 +0000

    Support multiple VNC clients (Brian Kress)

at which point the modifier state is always 0 due to
use of g_new0. As such the reset_keys() call has been
a no-op ever since.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1475163940-26094-8-git-send-email-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-10-13 09:22:30 +02:00
..
shader
Makefile.objs
cocoa.m qemu-doc: merge qemu-tech and qemu-doc 2016-10-07 10:05:54 +02:00
console-gl.c
console.c console: track gl_block state in QemuConsole 2016-09-28 12:49:35 +02:00
curses.c ui/curses.c: Clean up nextchr logic 2016-09-13 08:01:39 +02:00
curses_keys.h
cursor.c
cursor_hidden.xpm
cursor_left_ptr.xpm
egl-context.c
egl-helpers.c
gtk-egl.c
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-keymap.h
sdl2.c
sdl_keysym.h
sdl_zoom.c
sdl_zoom.h
sdl_zoom_template.h
shader.c
spice-core.c vl: Switch qemu_uuid to QemuUUID 2016-09-23 11:42:52 +08:00
spice-display.c spice/gl: render DisplaySurface via opengl 2016-09-28 12:49:36 +02: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 ui/vnc-enc-tight: remove switch and have single return 2016-09-28 12:55:09 +02:00
vnc-enc-tight.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-ws.c
vnc-ws.h
vnc.c ui: remove bogus call to reset_keys() in vnc_init_state 2016-10-13 09:22:30 +02:00
vnc.h ui: refactor method for setting up VncDisplay auth types 2016-10-13 09:22:20 +02:00
vnc_keysym.h
x_keymap.c
x_keymap.h