From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoTkB-0003KC-NZ for qemu-devel@nongnu.org; Mon, 17 Jun 2013 03:20:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoTkA-0006Np-9s for qemu-devel@nongnu.org; Mon, 17 Jun 2013 03:20:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoTkA-0006Nc-19 for qemu-devel@nongnu.org; Mon, 17 Jun 2013 03:20:50 -0400 Message-ID: <51BEB8C5.1010909@redhat.com> Date: Mon, 17 Jun 2013 09:20:37 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1371354005-26873-1-git-send-email-afaerber@suse.de> <1371354005-26873-5-git-send-email-afaerber@suse.de> In-Reply-To: <1371354005-26873-5-git-send-email-afaerber@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC 4/8] ui/input: Introduce MouseOps for qemu_add_mouse_event_handler() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Cc: Anthony Liguori , Brad Hards , qemu-devel@nongnu.org, Luiz Capitulino , Paolo Bonzini , Ludwig Nussel On 06/16/13 05:40, Andreas F=C3=A4rber wrote: > This allows to add callbacks to mouse event handlers without constantly > touching all callers of qemu_add_mouse_event_handler() or > qemu_add_mouse_event_handler() itself. I think you can stick other static information into the Ops too: name + absolute. cheers, Gerd