From nobody Wed Nov 5 16:42:18 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1496927905850922.1999163690577; Thu, 8 Jun 2017 06:18:25 -0700 (PDT) Received: from localhost ([::1]:49563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIxKS-00054r-1p for importer@patchew.org; Thu, 08 Jun 2017 09:18:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIxJD-0004L3-Fa for qemu-devel@nongnu.org; Thu, 08 Jun 2017 09:17:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIxJA-0002Dz-G8 for qemu-devel@nongnu.org; Thu, 08 Jun 2017 09:17:07 -0400 Received: from smtp.citrix.com ([66.165.176.89]:9025) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIxJA-0002D1-9t for qemu-devel@nongnu.org; Thu, 08 Jun 2017 09:17:04 -0400 X-IronPort-AV: E=Sophos;i="5.39,315,1493683200"; d="scan'208";a="427076192" From: Owen Smith To: Date: Thu, 8 Jun 2017 13:15:32 +0000 Message-ID: <1496927734-29174-3-git-send-email-owen.smith@citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1496927734-29174-1-git-send-email-owen.smith@citrix.com> References: <1496927734-29174-1-git-send-email-owen.smith@citrix.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.165.176.89 Subject: [Qemu-devel] [PATCH 2/4] xenfb: Activate mouse handler X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: anthony.perard@citrix.com, xen-devel@lists.xenproject.org, sstabellini@kernel.org, kraxel@redhat.com, Owen Smith Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Mouse events are only delivered to the first handler in the chain. Activating the xenfb mouse event handler so that mouse events can be passed over the shared ring protocol. Note: The keyboard handler is activated internally by the add call. Signed-off-by: Owen Smith --- hw/display/xenfb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c index 2ebc81b..b0a5726 100644 --- a/hw/display/xenfb.c +++ b/hw/display/xenfb.c @@ -385,6 +385,7 @@ static void input_connected(struct XenDevice *xendev) in->qmouse =3D qemu_add_mouse_event_handler(xenfb_mouse_event, in, in->abs_pointer_wanted, "Xen PVFB Mouse"); + qemu_activate_mouse_event_handler(in->qmouse); } =20 static void input_disconnect(struct XenDevice *xendev) --=20 2.1.4