summaryrefslogtreecommitdiffstats
path: root/sdl.c
Commit message (Collapse)AuthorAgeFilesLines
* add DisplayState->idle (Samuel Thibault)aliguori2008-08-211-0/+2
| | | | | | | | | | | | | | | | | Add idle field to DisplayState struct, so drivers can figure the display is idle and take advantage of that. The xen framebuffer driver will use this to communicate the idle state to the guest, so it knows it can stop doing updates to a virtual display which is invisible anyway. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5056 c046a42c-6fe2-441c-8c8c-71466251a162
* Handle terminating signals (Gerd Hoffmann)aliguori2008-08-211-8/+1
| | | | | | | | | | | | | | | | | | This patch makes qemu handle signals better. It sets the request_shutdown flag, making the main_loop exit and qemu taking the usual exit route, with atexit handlers being called and so on, instead of qemu just being killed by the signal. To avoid calling vm_start() from the signal handler main_loop() got an additional check so qemu_system_shutdown_request() works even when the vm is in stopped state. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5055 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix detection of 15 bit display depthblueswir12008-07-241-0/+11
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4936 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix SDL problems with BGR displays (Avi Kivity)aliguori2008-07-231-1/+1
| | | | | | | | | | | | | revert qemu's sdl.c rev 1.40 this fixes problems with bgr displays. Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4925 c046a42c-6fe2-441c-8c8c-71466251a162
* SDL: Fix dead keysaurel322008-04-131-1/+1
| | | | | | | (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4208 c046a42c-6fe2-441c-8c8c-71466251a162
* Slowdown SDL while minimizedaurel322008-03-131-0/+9
| | | | | | | | | | | | When SDL is invisible/minimized, there is no need to keep calling the VGA refresh 33 times per second. This patch reduces in that case the rate to 2 times per second, which should be responsive enough for the un-minimizing event. (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4050 c046a42c-6fe2-441c-8c8c-71466251a162
* SDL mouse events smoothnessaurel322008-03-131-16/+20
| | | | | | | (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4049 c046a42c-6fe2-441c-8c8c-71466251a162
* Let the USB tablet reach the far bottom and right pixelsaurel322008-03-101-2/+2
| | | | | | | (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4036 c046a42c-6fe2-441c-8c8c-71466251a162
* Break up vl.h.pbrook2007-11-171-1/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
* find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in ↵ths2007-09-171-2/+2
| | | | | | the regex. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162
* find -type f | xargs sed -i 's/[\t ]$//g' # on most filesths2007-09-161-7/+7
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
* Add alternate grab key, by Michael Mohr.ths2007-06-211-5/+19
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2990 c046a42c-6fe2-441c-8c8c-71466251a162
* Unpause the emulation after shutdown request on SDL close, so that it can ↵balrog2007-06-211-1/+2
| | | | | | take effect. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2989 c046a42c-6fe2-441c-8c8c-71466251a162
* Attempt to fix incorrect colours on some BGR displaysblueswir12007-06-101-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2974 c046a42c-6fe2-441c-8c8c-71466251a162
* Spelling fixes, by Stefan Weil.ths2007-06-031-1/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2927 c046a42c-6fe2-441c-8c8c-71466251a162
* -show-cursor switch to inhibit SDL hiding cursor.balrog2007-05-011-0/+6
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2763 c046a42c-6fe2-441c-8c8c-71466251a162
* VMware SVGA II emulation, by Andrzej Zaborowski.ths2007-04-021-3/+92
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2579 c046a42c-6fe2-441c-8c8c-71466251a162
* Add -name option, by Anthony Liguori.ths2007-03-191-7/+12
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2505 c046a42c-6fe2-441c-8c8c-71466251a162
* -no-frame option for sdl, by Christian Laursen.ths2007-02-181-1/+7
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2435 c046a42c-6fe2-441c-8c8c-71466251a162
* Split out SDL X keymap, by Bernhard Fischer.ths2007-01-241-83/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2354 c046a42c-6fe2-441c-8c8c-71466251a162
* Dynamic handling of guest mice, by Lonnie Mendez.ths2007-01-051-1/+6
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2290 c046a42c-6fe2-441c-8c8c-71466251a162
* Implement -no-quit option, by Xavier Gnata.ths2006-12-111-1/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2239 c046a42c-6fe2-441c-8c8c-71466251a162
* Japanese keyboard fixes (kazu)bellard2006-08-191-4/+26
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2129 c046a42c-6fe2-441c-8c8c-71466251a162
* reset key modifiers when switching console (aka savevm keyboard bug)bellard2006-08-171-1/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2112 c046a42c-6fe2-441c-8c8c-71466251a162
* avoid stopping QEMU when switching desktops with Ctrl-Alt-xbellard2006-06-131-3/+11
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1954 c046a42c-6fe2-441c-8c8c-71466251a162
* 'invisible wall' patch (Anthony Liguori)bellard2006-06-131-2/+7
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1953 c046a42c-6fe2-441c-8c8c-71466251a162
* bgr32 pixel format supportbellard2006-05-101-0/+5
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1912 c046a42c-6fe2-441c-8c8c-71466251a162
* USB tablet support (Brad Campbell, Anthony Liguori)bellard2006-04-121-6/+44
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1810 c046a42c-6fe2-441c-8c8c-71466251a162
* Allow multiple graphics devices.pbrook2006-04-091-10/+6
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1803 c046a42c-6fe2-441c-8c8c-71466251a162
* Make sure gui_key_modifier_pressed is cleared correctly.pbrook2006-03-111-3/+3
| | | | | | | Use correct event fields for SDL_ACTIVEEVENT. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1780 c046a42c-6fe2-441c-8c8c-71466251a162
* SDL full screen patch for Windows (malc)bellard2005-10-301-0/+11
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1595 c046a42c-6fe2-441c-8c8c-71466251a162
* prevent window resizingbellard2005-07-231-1/+0
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1519 c046a42c-6fe2-441c-8c8c-71466251a162
* enabled wheel mouse support (initial patch by Volker Ruppert)bellard2005-01-171-12/+13
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1229 c046a42c-6fe2-441c-8c8c-71466251a162
* keymaps support (initial patch by Johannes Schindelin)bellard2004-12-121-114/+32
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1173 c046a42c-6fe2-441c-8c8c-71466251a162
* better ctrl-alt handling, at least for SDL/X11bellard2004-11-141-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1145 c046a42c-6fe2-441c-8c8c-71466251a162
* ctrl-alt is the default grab key - reset modifiers when toggling grab statebellard2004-10-031-20/+32
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1094 c046a42c-6fe2-441c-8c8c-71466251a162
* -loadvm and -full-screen optionsbellard2004-10-031-2/+9
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1090 c046a42c-6fe2-441c-8c8c-71466251a162
* virtual console supportbellard2004-07-141-11/+65
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1022 c046a42c-6fe2-441c-8c8c-71466251a162
* Darwin patchbellard2004-07-051-16/+146
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@982 c046a42c-6fe2-441c-8c8c-71466251a162
* new reset APIbellard2004-06-201-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@936 c046a42c-6fe2-441c-8c8c-71466251a162
* fixed full screen refreshbellard2004-06-081-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@913 c046a42c-6fe2-441c-8c8c-71466251a162
* sdl keyboard fixbellard2004-06-051-0/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@889 c046a42c-6fe2-441c-8c8c-71466251a162
* fixed window switch - fixed caps lock and num lock - simplified keycodes ↵bellard2004-06-041-27/+69
| | | | | | (initial idea by Mark Jonckheere) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@886 c046a42c-6fe2-441c-8c8c-71466251a162
* win32 patch (kazu)bellard2004-05-201-13/+9
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@829 c046a42c-6fe2-441c-8c8c-71466251a162
* disable grab if the window no longer has the focus (Windows case) (Mike Nordell)bellard2004-04-291-0/+5
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@777 c046a42c-6fe2-441c-8c8c-71466251a162
* full screen support (initial patch by malc)bellard2004-04-281-8/+49
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@772 c046a42c-6fe2-441c-8c8c-71466251a162
* win32: correct keycode remappingbellard2004-04-061-1/+8
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@710 c046a42c-6fe2-441c-8c8c-71466251a162
* win32 port (initial patch by kazu)bellard2004-03-311-22/+7
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@692 c046a42c-6fe2-441c-8c8c-71466251a162
* new timer API - new API to save/restore the virtual machine statebellard2004-03-311-3/+22
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@690 c046a42c-6fe2-441c-8c8c-71466251a162
* sdl_cleanup fix (Martin Garton)bellard2004-02-061-0/+8
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@603 c046a42c-6fe2-441c-8c8c-71466251a162
OpenPOWER on IntegriCloud