1. 27 2月, 2012 1 次提交
  2. 02 2月, 2012 5 次提交
  3. 16 9月, 2011 1 次提交
  4. 23 8月, 2011 1 次提交
  5. 21 8月, 2011 1 次提交
  6. 05 8月, 2011 15 次提交
  7. 24 7月, 2011 1 次提交
  8. 08 6月, 2011 1 次提交
  9. 15 5月, 2011 1 次提交
  10. 02 4月, 2011 1 次提交
    • S
      ui/sdl: Load optional QEMU icon · 09cec717
      Stefan Weil 提交于
      Load an optional QEMU icon file. If there is no icon file named
      qemu.bmp in QEMU's default search path, QEMU will run with
      the usual system default icon.
      
      A matching icon file  will be loaded and used by X Windows managers
      or MS Windows while a QEMU instance is running.
      
      SDL requires icon files in 32x32x4 bmp format.
      
      Cc: Anthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      09cec717
  11. 22 3月, 2011 1 次提交
  12. 04 2月, 2011 1 次提交
    • S
      ui/sdl: Fix handling of caps lock and num lock keys · 4e79bcbb
      Stefan Weil 提交于
      Starting with SDL version 1.2.14, caps lock and num lock keys
      will send a SDL_KEYUP when SDL_DISABLE_LOCK_KEYS=1 is set in
      the environment.
      
      The new code sets the environment unconditionally
      (it won't harm old versions which do not know it).
      
      The workaround for SDL_KEYUP is only compiled with old SDL versions.
      
      A similar patch without handling of old SDL versions was already
      published by Benjamin Drung for Ubuntu.
      
      Cc: Anthony Liguori <aliguori@us.ibm.com>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Benjamin Drung <benjamin.drung@gmail.com>
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4e79bcbb
  13. 30 1月, 2011 1 次提交
    • B
      sdl: remove unused variable · 1b958498
      Blue Swirl 提交于
      Variable rec is not used, remove it. Spotted by GCC 4.6.0:
        CC    ui/sdl.o
      /src/qemu/ui/sdl.c: In function 'sdl_setdata':
      /src/qemu/ui/sdl.c:90:14: error: variable 'rec' set but not used [-Werror=unused-but-set-variable]
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      1b958498
  14. 15 8月, 2010 1 次提交
  15. 27 7月, 2010 1 次提交
  16. 25 5月, 2010 2 次提交
  17. 22 3月, 2010 1 次提交
  18. 20 3月, 2010 2 次提交
    • A
      Convert atexit users to exit_notifier · d7234f4d
      Anthony Liguori 提交于
      All of these users have global state so we really don't see a benefit from
      exit_notifier.  However, using exit_notifier means that there's one less
      justification for having global state in the first place.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d7234f4d
    • A
      sdl: use mouse mode notifier · 3af12c86
      Anthony Liguori 提交于
      Today we poll the mouse mode whenever there is a mouse movement.  There is a
      subtle usability problem with this though.
      
      If we're in relative mode and grab is enabled, when we change to absolute mode,
      we break grab.  This gives a user a seamless transition when the new pointer
      is enabled.
      
      But because we poll for mouse change, this grab break won't occur until the user
      attempts to move the mouse.  By using notifiers, the grab break happens as soon
      as possible.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3af12c86
  19. 17 3月, 2010 1 次提交
    • B
      sdl: improve error message on fatal error · b6034a39
      Bjørn Mork 提交于
      The SDL_SetVideoMode() error condition is easily triggered by a user by
      simply configure a guest with a host unsupported display resolution
      and attempting to enable fullscreen.  Since the error is fatal, adding
      a bit of debugging help can't harm.
      
      Sample output with this change:
      
       (qemu) Could not open SDL display (1280x1024x32): No video mode large enough for 1280x1024
      
      The width x height might seem redundant as SDL also provides it in
      SDL_GetError(), but I believe there are situations where it is
      useful.  I.e. if there is some other SDL error.  Anyway, redundant
      information in fatal error messages has never harmed a single gerbil.
      Signed-off-by: NBjørn Mork <bjorn@mork.no>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b6034a39
  20. 09 3月, 2010 1 次提交