From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37E67C48BCF for ; Wed, 9 Jun 2021 13:28:44 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B481A6124C for ; Wed, 9 Jun 2021 13:28:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B481A6124C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=noronha.eti.br Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqyGA-0004Sg-QG for qemu-devel@archiver.kernel.org; Wed, 09 Jun 2021 09:28:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqyFX-0003m3-FG for qemu-devel@nongnu.org; Wed, 09 Jun 2021 09:28:03 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:54503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqyFV-0003hy-Kg for qemu-devel@nongnu.org; Wed, 09 Jun 2021 09:28:03 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3EB365C0153; Wed, 9 Jun 2021 09:27:58 -0400 (EDT) Received: from imap36 ([10.202.2.86]) by compute3.internal (MEProxy); Wed, 09 Jun 2021 09:27:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noronha.eti.br; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=mesmtp; bh=E7efHK9LBR2ZiqpgHFeMzJDJI KFzN27R80Q2VL950dQ=; b=nQorRobaJ+y9uCJZ0bfAsEYrP+S60jpnfKbwvM0mL ++nTDNykQxJcWyaJswBMEyXRYkTUQMtAfiZQPHWDdfrkwL1bpIv/PgE2BSJEwd5a qTEQFaX3/kTTq3rLYQTYk9kXpRHyc40DsqzTBtBDMqkJvqWKOmRheXfJT30/7Wt/ uA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=E7efHK 9LBR2ZiqpgHFeMzJDJIKFzN27R80Q2VL950dQ=; b=RViLgdNx6ACRe3Fvw5naTm QEoKmORjut9Bg8KgeYqwa2GW0xN9Zi1Jw7h6cTsz3j/VqOVX0F8ubyCvNc1YYrNs M0gDmk51bPcDLNwMUbCBD3P+5osumewgGaF+79HnRmhme/X9Np/z3RyIJKKS1kv7 C/150k3tjjcIJYJxFvSzD1yH3KJdK46BYrbwJz+ivEoB8B+qGnnZyg9CVLseqlyA sMUT1ni/MkEiHKcYbsDb4UznXpTeJeDXWQvCO6yYL5bkAnOjYyGrmSPo/Rrc2qaC JFxrLLMHUt7HAIK+1+HsIxlKsiEuHzp5Ze32ltMjjA4LHVpg+RXKRPqQqCpSvOrw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeduuddgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdfiuhhs thgrvhhoucfpohhrohhnhhgrucfuihhlvhgrfdcuoehguhhsthgrvhhosehnohhrohhnhh grrdgvthhirdgsrheqnecuggftrfgrthhtvghrnhepuddvgfeuffdtheefvdeukeefheeu hfetheeuvdehvdeileelhedtleehheelieelnecuffhomhgrihhnpegrphhplhgvrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhu shhtrghvohesnhhorhhonhhhrgdrvghtihdrsghr X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 28E3910E008E; Wed, 9 Jun 2021 09:27:57 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-519-g27a961944e-fm-20210531.001-g27a96194 Mime-Version: 1.0 Message-Id: <20d65a72-4b00-49ff-b244-81f1f859ad00@www.fastmail.com> In-Reply-To: References: <20210511185538.29344-1-gustavo@noronha.eti.br> <20210511185538.29344-2-gustavo@noronha.eti.br> <20210518101437.oivump7vaamayr5i@sirius.home.kraxel.org> Date: Wed, 09 Jun 2021 10:27:35 -0300 From: "Gustavo Noronha Silva" To: "'Gerd Hoffmann '" Subject: =?UTF-8?Q?Re:_[PATCH_v4_1/2]_ui/cocoa:_capture_all_keys_and_combos_when_?= =?UTF-8?Q?mouse_is_grabbed?= Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.27; envelope-from=gustavo@noronha.eti.br; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 'Peter Maydell ' , 'Markus Armbruster ' , qemu-devel@nongnu.org, Akihiko Odaki , 'Eric Blake ' Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Ping 3? =) On Wed, May 26, 2021, at 12:13 PM, Gustavo Noronha Silva wrote: > On Tue, May 18, 2021, at 7:14 AM, 'Gerd Hoffmann ' wrote: > > On Tue, May 11, 2021 at 03:55:37PM -0300, gustavo@noronha.eti.br wrote: > > > From: Gustavo Noronha Silva > > > > > > Applications such as Gnome may use Alt-Tab and Super-Tab for different > > > purposes, some use Ctrl-arrows so we want to allow qemu to handle > > > everything when it captures the mouse/keyboard. > > > > > > However, Mac OS handles some combos like Command-Tab and Ctrl-arrows > > > at an earlier part of the event handling chain, not letting qemu see it. > > > > > > We add a global Event Tap that allows qemu to see all events when the > > > mouse is grabbed. Note that this requires additional permissions. > > > > > > See: > > > > > > https://developer.apple.com/documentation/coregraphics/1454426-cgeventtapcreate?language=objc#discussion > > > https://support.apple.com/en-in/guide/mac-help/mh32356/mac > > > > Ping. Reviews from cocoa guys please? > > Ping 2? =)