qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 00/11] Patches for ui/gtk and ui/sdl


From: Volker Rümelin
Subject: [PATCH v2 00/11] Patches for ui/gtk and ui/sdl
Date: Sat, 16 May 2020 09:18:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

It's rather difficult to test qemu patches in guests on Windows with important 
keys missing. These patches mainly fix the guest keyboard on Windows.

With best regards,
Volker

v2:
- ui/win32-kbd-hook: handle AltGr in a hook procedure
  The boilerplate now mentions where the code comes from.
  Stub functions added for non Windows platforms.

- ui/gtk: fix handling of AltGr key on Windows
- ui/sdl2: fix handling of AltGr key on Windows
  Nearly all #ifdefs were removed.

- ui/gkt: release all keys on grab-broken-event
  Comment added.

- ui/gtk: remove unused variable ignore_keys
- ui/sdl2: start in full screen with grab enabled
- ui/gtk: don't pass on win keys without keyboard grab
  Improved commit message.

- ui: increase min required GTK version to 3.22.0
  New patch. Slightly different compared to Daniel's suggestion.

Volker Rümelin (11):
  ui/win32-kbd-hook: handle AltGr in a hook procedure
  ui/gtk: fix handling of AltGr key on Windows
  ui/gkt: release all keys on grab-broken-event
  ui/gtk: remove unused code
  ui/gtk: remove unused variable ignore_keys
  ui/sdl2: fix handling of AltGr key on Windows
  ui/sdl2: start in full screen with grab enabled
  ui/sdl2-input: use trace-events to debug key events
  ui/gtk: don't pass on win keys without keyboard grab
  ui/gtk: use native keyboard scancodes on Windows
  ui: increase min required GTK version to 3.22.0

 configure                   |   2 +-
 include/ui/win32-kbd-hook.h |  14 +++
 stubs/Makefile.objs         |   1 +
 stubs/win32-kbd-hook.c      |  18 ++++
 ui/Makefile.objs            |   3 +
 ui/gtk.c                    | 194 +++++++++++++++++-------------------
 ui/sdl2-input.c             |   3 +
 ui/sdl2.c                   |  33 +++++-
 ui/trace-events             |   3 +
 ui/win32-kbd-hook.c         | 102 +++++++++++++++++++
 10 files changed, 264 insertions(+), 109 deletions(-)
 create mode 100644 include/ui/win32-kbd-hook.h
 create mode 100644 stubs/win32-kbd-hook.c
 create mode 100644 ui/win32-kbd-hook.c

-- 
2.26.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]