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: Removing the `window-id' frame parameter on non-Core Input platforms Date: Mon, 20 Dec 2021 11:16:14 +0800 Message-ID: <87pmps3r0h.fsf@yahoo.com> References: <87y24ifpkj.fsf.ref@yahoo.com> <87y24ifpkj.fsf@yahoo.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="11461"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Emacs developers To: Akira Kyle Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 20 04:17:25 2021 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 1mz9Ax-0002jc-IY for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Dec 2021 04:17:23 +0100 Original-Received: from localhost ([::1]:36548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mz9Av-0003Ce-Nc for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 22:17:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz9A3-0002Vk-3m for emacs-devel@gnu.org; Sun, 19 Dec 2021 22:16:27 -0500 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:41888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mz9A1-0003m1-GA for emacs-devel@gnu.org; Sun, 19 Dec 2021 22:16:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639970183; bh=aS0V29cBY0ICgwNwmFH24B4weSxyn7TSFVHhzyK3BCI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=SVJqmJ3YvlmSOuhvUl7+pOtgoFxcCk7SAnWF9zJ0svC9jec8e/6FnzlUQb15htptyuepiD/nMXCg8VH/dNR6z3V/MoNpuJq+FnndbG+VJpHFsevfgZDFfU1OoAFIouMPKhRK0U7AR/mdlqYj5wiAU5TNdkaqjxg8Nq1RnjCbHImYDP0CxARlSXZpIdiaeBaN8keiTdHohbJp2VlySIRrBdedppjbqzYYzuZFBNHUTVqfti1osjEgyBvRVc1R8yfyiuj3XoqOZBZzD/1ctQ1+/0jfr6AEiKW+xSzVdGvg3bAqoDWxlXPncVTdPkQQ+Q65PhBEcWS6hZiDwnP5UkgNaQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639970183; bh=5UaZfO8zy+XM1l98ILK6FUMeuUKVA17nfzYqF6osAHZ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SWVmfcIyLwtJTBjg2pQObox6LAVNsX1JVapVng8669VO43EfSxpAWPj5dqbAxv7a1PzkpOl7+pfA60SSdBZNvuqgrlqq3+so5Xcm6/MwQoZL/Ov7FAyaWw0tY+2/aJPzFZ+Qff/nz/jdyTxx+rlMuTVRL2AvOt9kSHlmAG8AlctooyLZ2fmHLFHmUW+TcUEmBUHf8Wg6pAIKSVCtHI/qK03qWYHe18nSav6w4eHXEAxOJjdbDPg/ha2V9EmA51csw4WDHE4AhBmI+n+kjpwA/rVp9OdM/YZxXqiGKB6NKf6jTwoAis0IPf28s1Crl09zkvNaNzuH448c7HRQ9fqAoQ== X-YMail-OSG: iEV5VqMVM1lxvri7ajHWPJBOFas6kz_.D09Qp5Pden9fylu5pFAtI2U_bAiN4as .rbbOqOQ8w92.mR7UB7kMHD.qeAYV5rrBRa1C44XB8Ls5DZZO4o2piIihkqj.J.2YinfmGCNqAkl zkyaug0ctyqxzLMEvW2LTRqFgciVbj7EZm0_a6VQNt7cKzrQZvHbDP5lUelyFwlAkI4pKR7VgSGQ hzFNEY8xun_5grtixVqi6dWqnb6fF7mrdyXdINhCB9Qzv4JkHiBlkj_0SMh9c6_FYdvPtnQ4fY7q Ku0EOoRNqKs43NNCzkH7RnweUpm.3mDG9NEEVuuLiBMct2o9Ma07tq0P7sf4Xybx1njs7KoIDtqI 2ZhQwqQSgsp.AXOV08h9_R16EmaWwT4HCKXV31_GolOMR9yfxPhBBAxoCmGOan5UrMSZ4FKkTbB8 VBZDuZFa.gZlIxZHZY.7bGPBap94YsFnGCDqoAmH_sxvZGEKeOieEeBSvKBb_xorOGTdQPLF0f97 9LM3Dm0mXsZu1mk84ZzNoLlDIrjgulQWmfzMlNv27iaKe2g8N4T.aDsWN9Jyu0JbPRqmqJt4JHBg jZ0OcQxHqNp_CCv5DDgloLm9Jh1xFMmYb4TRcOtq9EKVIFh_pefL_g0TnWZKYmcM_Hx9YaUw0C6Z QvujSV3_UCJfNdGl5.sFsw3QIRhZLNL46ijX_5VzF58RA5ozJ7A57US6jSuzyE5Phe86bHIO9ms3 X3kQ36PnGoMPanrzNE6XWSeYGZ.NiJGqsT1ny_LjWiJq.c3z_dZy44anoEBdCUTg5aFQ1Rc_uRFD 5CXnpjy6OF_vWekjuNc4ERXTke_vCZdFlxvWvZNV4Y X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Dec 2021 03:16:23 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c24bf7dc5534a24bb94172f5004f3f03; Mon, 20 Dec 2021 03:16:20 +0000 (UTC) In-Reply-To: (Akira Kyle's message of "Sun, 19 Dec 2021 19:25:36 -0700") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.148; envelope-from=luangruo@yahoo.com; helo=sonic315-22.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:282489 Archived-At: Akira Kyle writes: > emacs-webkit uses the pointer obtained via 'window-id' on pgtk builds > to help identify the correct gtk container widget containing contents > of the emacs frame that should become the parent of the webkit widget. > It's a bit of a hack but would be potentially more difficult without > this pointer. I'm not sure we want to allow direct access to the innards of how Emacs utilises GTK widgets. That way lies madness. > I also know that EAF uses the 'widow-id' parameter on x+gtk builds in > order to allow Qt widgets to be reparented onto emacs frames. I've already discussed this with the EAF developers. Until Qt gains the ability to not select for TouchBegin, TouchUpdate and TouchEnd, EAF will likely not work on XInput2 builds. > Also a slight tangent, but Po, do you plan to make xwidgets work on > pgtk? I'm wondering that since you've been trying to revive the > xwidget code and fixed the flickering issues on x+gtk, that xwidgets > are looking more like they are here to stay as a potentially > non-experimental feature? If that's the case, then I think I'd like to > then just integrate the work I've done on emacs-webkit into a pgtk > version of xwidgets? I think one of the key differences between the > codes are the osr versus one-to-one buffer-webkit view models. I will work on it eventually, which will be before the release of Emacs 29.