From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIcEp-0003LJ-T8 for qemu-devel@nongnu.org; Mon, 11 Jan 2016 08:10:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIcEk-0007Ml-Qw for qemu-devel@nongnu.org; Mon, 11 Jan 2016 08:10:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIcEk-0007MY-Lc for qemu-devel@nongnu.org; Mon, 11 Jan 2016 08:10:18 -0500 Message-ID: <1452517816.8098.49.camel@redhat.com> From: Gerd Hoffmann Date: Mon, 11 Jan 2016 14:10:16 +0100 In-Reply-To: <87r3hoz47y.fsf@blackfin.pond.sub.org> References: <20151205133123.4f9f5035@holly> <87r3hoz47y.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] sdl: shorten the GUI refresh interval when mouse or keyboard is active List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: =?UTF-8?Q?Jind=C5=99ich_Makovi=C4=8Dka?= , qemu-devel@nongnu.org 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