From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn610-00061i-P5 for qemu-devel@nongnu.org; Sat, 30 Jul 2011 05:39:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn60z-0005bT-7g for qemu-devel@nongnu.org; Sat, 30 Jul 2011 05:39:26 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:35861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn60z-0005ak-14 for qemu-devel@nongnu.org; Sat, 30 Jul 2011 05:39:25 -0400 From: Jan Kiszka Date: Sat, 30 Jul 2011 11:39:03 +0200 Message-Id: Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH 00/15] sdl: Usability improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel Cc: Stefano Stabellini 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 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(-) -- 1.7.3.4