Re: [Qemu-devel] [PATCH] Slowdown SDL while minimized

2008-03-11 Thread Samuel Thibault
Anders, le Wed 12 Mar 2008 00:56:42 +0100, a écrit : > Samuel Thibault wrote: > >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 >

Re: [Qemu-devel] [PATCH] Slowdown SDL while minimized

2008-03-11 Thread Anders
Samuel Thibault wrote: 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. Is there any need to update at all, if

[Qemu-devel] [PATCH] Slowdown SDL while minimized

2008-03-11 Thread Samuel Thibault
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. Index: console.h ==