Re: [Qemu-devel] [PATCH] sdl: shorten the GUI refresh interval when mouse or keyboard is active

2016-01-26 Thread Gerd Hoffmann
On Di, 2016-01-12 at 20:38 +0100, Jindřich Makovička wrote: > Updated patch attached. Added to patch queue. thanks, Gerd

Re: [Qemu-devel] [PATCH] sdl: shorten the GUI refresh interval when mouse or keyboard is active

2016-01-12 Thread Jindřich Makovička
Hi Gerd, On Mon, 11 Jan 2016 14:10:16 +0100 Gerd Hoffmann wrote: > Hi, > > For SDL2 this ... > > > > +static int idle_counter; > > ... should be store in ... > > > > void sdl2_poll_events(struct sdl2_console *scon) > > ... sdl2_console, otherwise it will not work

Re: [Qemu-devel] [PATCH] sdl: shorten the GUI refresh interval when mouse or keyboard is active

2016-01-11 Thread Gerd Hoffmann
Hi, For SDL2 this ... > > +static int idle_counter; ... should be store in ... > > void sdl2_poll_events(struct sdl2_console *scon) ... sdl2_console, otherwise it will not work as intended in case multiple windows are present. Otherwise looks fine to me. cheers, Gerd

Re: [Qemu-devel] [PATCH] sdl: shorten the GUI refresh interval when mouse or keyboard is active

2016-01-11 Thread Markus Armbruster
Copying maintainer. You can find people to copy by feeding your patch to scripts/get_maintainer.pl. Jindřich Makovička writes: > Hi, > > some years ago, I submitted a patch improving the mouse response in SDL > ui, but it got lost under the sands of time. Here is an updated

[Qemu-devel] [PATCH] sdl: shorten the GUI refresh interval when mouse or keyboard is active

2015-12-05 Thread Jindřich Makovička
Hi, some years ago, I submitted a patch improving the mouse response in SDL ui, but it got lost under the sands of time. Here is an updated version for both SDL and SDL2 frontends. With the change applied, when the gui receives a keyboard or mouse event, it shortens the gui refresh interval to