From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: PGTK-related misconceptions Date: Thu, 28 Jul 2022 10:50:00 +0800 Message-ID: <87wnbyq7c7.fsf@yahoo.com> References: <87y202f4dq.fsf@treypeacock.com> <87o80xhor2.fsf@yahoo.com> <877d7lrbta.fsf@treypeacock.com> <87czdszy2r.fsf@akirakyle.com> <875yjkzkuc.fsf@yahoo.com> <87fsino7gd.fsf@akirakyle.com> <87lesfuv89.fsf@yahoo.com> <878roedmav.fsf@akirakyle.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15697"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Trey Peacock , Morgan Smith , emacs-devel@gnu.org To: Akira Kyle Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 28 04:51:21 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGtcO-0003oJ-3e for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jul 2022 04:51:20 +0200 Original-Received: from localhost ([::1]:33574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGtcM-0007jm-Ox for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jul 2022 22:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGtbO-00071Q-Cs for emacs-devel@gnu.org; Wed, 27 Jul 2022 22:50:18 -0400 Original-Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:45039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGtbM-0000HG-5T for emacs-devel@gnu.org; Wed, 27 Jul 2022 22:50:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658976613; bh=yNL2wU01DTFXEXTtH31O1/z4LuOkF7ygY0KjUhlxMlI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=N1nHg0cKkU3fM0RQ37oCEOhT3ItT1GJwHIz2iKxTVeN3kgPfa/ORY1+u7nSuOXJXykX7sW/L1ddyicoS/TyPxp3ra0bRCtK+aDuY3jthj//di8x/jhG/2haKaigJwJwn4ZOa/gBMckVpR7ZVF9XYTNJJbVMxeGZv4Hvmscv6wTkmOaB5gCU+X20NHkXvc+swHBVzdB49+IkHP/Yk7qxHclHBc+hoZv1it6omZBlLVASIWb2qEsPvc6+TJ7eDq3R0Yrpxj6ExezXypn0EU4ESKWQC2a/pq6ezkstjT/+XPwPJsNmw6ItJIHFHe12tK1pikLehtjAZsnFjWGIR33ycSw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658976613; bh=MpuUUnhDiu0JalVgOX0GaoSnnFFE/vD94NJNJ4Z7dEY=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ge6WEsps8GVWWq2kqkiPngqc0wHVXb8HAMJ6KW0iR2Schg9X8+5jKnrUOFrJfy6GTnKGFrAKNpTDGW2oiIf5fR/WI7hAOo7RIHoRln38xICgN/1lOexastWMO9pzHrnuhw01rhYkoCBwfl3p7vA8WhEXjOqYZl9I6eA3uQkZ67g1pojhlFwLdnWtiDUhmDw23aeB31fdxbPjbm2BTQlzzS9a9EiM3WyEloHC4KkYv4YUw1JqAryPqMmtqz0P1R2nXt8/q1iKeHy1EVFcIB3Z6Rvk3hmCpHwHVJCllT9sw/fwJ85UY+tLP7cDSEUM2yhVIzZAM6tuRgQ2ui4zTepkOw== X-YMail-OSG: S1Zw9UAVM1koSKASxRD6yCHWGR5oDpkoVUURggDj2uSGd5pL2v.Abyk.K298rP6 Ysi0InGAUdSXkjYEY825qnm5nV1HUjF7vR7XlXhuaEvcZ50FyggDsMVz.EeR.oKpcft5K6AoYGWr L3ih9fl4ury3VTe9xlr6bXTJLzTd4MjP10bKk3KNX2rJqHPlAY.3Y_JlJ0N8F8jZXum78KrqB7kH ewjehpLxOTEmpHM6ygmTVg7b8DyZnXbGrrrsMRp_BotbUcPHB2JE5Pwa0MZZH1QEEwT1azVO.EQU dZsGhj3vLpzmi6lpUbmmRjk42LC7YRuUNk6zfXlZx6yKeFM3IQIebgebVf89KqSckaEv.zrBRGhI 5wEiakD6l_5fN22O1kRSlRYzfh7HVdJUxfhF0xvTbN4Q3cagkuXQ5.g.WG6zuXZ8ai.T4pp5hO5z 1An7JCpuoO8qygy3kFkH2WrvYQ8jLnHXigARGReBSIBNiyy6WIl1yHCFr2CZOs8wVIIuQpwzWnHe GgbuqHiX_iOPCLJw9VlJ7txwp9ECV0tAOqFre9l3AlOQDxZyCDm0w9_x_qEKdFjrROmOL0Dvby.F V23hMix_hC9yEjVnCos.DTfxpS1UxGPdFowrHTL13tsb_ruTfhmZoxX_L3iOGDyqsfqTHoiOkVZw ._OABhMG61ujCvedeAfArrbCAIsViTS2fZu0Qerp9U0sX8.f0VLQj.E8Pyar5Ko5muayECRr1YX0 ir3Txb5q1wld.XKCR2sqM7VEOm6Qqa1gciYXMC3NXn..qS61wnK85d54VFiglmVu1tmFoBpc9ODz SkN0GdWrPnjVww9NbpI8Tb7qbvkF7Qlpuhs01hS7il X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Thu, 28 Jul 2022 02:50:13 +0000 Original-Received: by hermes--canary-production-sg3-854c886654-t42lr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8bcbdf339074d6ebf02b4635b09ebb84; Thu, 28 Jul 2022 02:50:06 +0000 (UTC) In-Reply-To: <878roedmav.fsf@akirakyle.com> (Akira Kyle's message of "Wed, 27 Jul 2022 19:39:19 -0600") X-Mailer: WebService/1.1.20447 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.147; envelope-from=luangruo@yahoo.com; helo=sonic316-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292757 Archived-At: Akira Kyle writes: > I'm not totally convinced, since sway should just be using the .xkb > file I specify. The relevant code is in sway/input/keyboard.c where it > uses the .xkb file in sway_keyboard_compile_keymap which then sway > sets using wlr_keyboard_set_keymap inside > sway_keyboard_configure. So this should be the same keymap that GTK is > using. It would be nice if you (or someone else) set a breakpoint here: ->if (mods & (1 << xkb_keymap_mod_get_index (xkb_keymap, "Super"))) state |= GDK_SUPER_MASK; in the GDK source code to see what real modifier gets returned under Sway. TIA.