Skip to content

sdl: Usability improvements

Jan Kiszka qemu-devel 1 version Applied

Status from this message: Applied all. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15sdl: Fix termination in -no-shutdown modeui/sdl.c+3 -11 reply
2/15sdl: Do not make full screen mode resizableui/sdl.c+5 -20 replies
3/15sdl: Avoid redundant scaling deactivationui/sdl.c+6 -40 replies
4/15sdl: Properly mark modifier+u as hotkeyui/sdl.c+1 -00 replies
5/15sdl: Fix full screen toggling from scaled modeui/sdl.c+2 -10 replies
6/15sdl: Restore scaling mode on return from full screenui/sdl.c+33 -150 replies
7/15sdl: Drop bogus gui_fullscreen_initial_grabui/sdl.c+1 -30 replies
8/15sdl: Initialize gui_fullscreen earlier during setupui/sdl.c+5 -40 replies
9/15sdl: Consistently avoid grabbing input for text consolesui/sdl.c+6 -30 replies
10/15sdl: Never release input while in full screen modeui/sdl.c+4 -30 replies
11/15sdl: Fix cursor handling when switching consoles in absolute mouse modeui/sdl.c+10 -30 replies
12/15sdl: Dynamically grab input in absolute mouse modeui/sdl.c+37 -60 replies
13/15sdl: Add zoom hot keysqemu-doc.texi ui/sdl.c+21 -00 replies
14/15sdl: Factor out event handlers from sdl_refreshui/sdl.c+271 -2050 replies
15/15sdl: Refactor sdl_send_mouse_eventui/sdl.c+11 -110 replies

Reviews trailers per patch

1 of 15 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnthony Liguori
SeriesR-b
1/15R-b
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/15] sdl: Usability improvements

As SDL is my preferred way of working ad-hoc with guests, I had a closer look at oddities and shortcomings that this GUI exposed, at least here on Linux hosts. The result is a series of patches I've now finally polished and completed. Highlights:
- fix termination in -no-shutdown mode
- fix various issues when switching to/from full screen mode
- polish mouse grabbing in full screen mode, under text console and when in absolute mouse mode
- dynamically grab keyboard input in absolute mouse mode, enabling e.g. ALT+TAB in the guest
- add zoom hot keys to make window scaling more attractive
- refactor some ugly functions

Please review/merge.

CC Stefano Stabellini <[email protected]>

Jan Kiszka (15):
sdl: Fix termination in -no-shutdown mode
sdl: Do not make full screen mode resizable
sdl: Avoid redundant scaling deactivation
sdl: Properly mark modifier+u as hotkey
sdl: Fix full screen toggling from scaled mode
sdl: Restore scaling mode on return from full screen
sdl: Drop bogus gui_fullscreen_initial_grab
sdl: Initialize gui_fullscreen earlier during setup
sdl: Consistently avoid grabbing input for text consoles
sdl: Never release input while in full screen mode
sdl: Fix cursor handling when switching consoles in absolute mouse
mode
sdl: Dynamically grab input in absolute mouse mode
sdl: Add zoom hot keys
sdl: Factor out event handlers from sdl_refresh
sdl: Refactor sdl_send_mouse_event

 qemu-doc.texi |    8 +
 ui/sdl.c      |  547 ++++++++++++++++++++++++++++++++++++---------------------
 2 files changed, 355 insertions(+), 200 deletions(-)
Signature · 1 line
1.7.3.4