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: Sv: Sv: Sv: Support for background transparency Date: Wed, 26 Jan 2022 09:00:11 +0800 Message-ID: <87mtjjmhus.fsf@yahoo.com> References: <87wnlnptf2.fsf@gnus.org> <83h7bwybeg.fsf@gnu.org> <87y24t1ed1.fsf@gnus.org> <87wniv2pp8.fsf@yahoo.com> <874k5x29be.fsf@yahoo.com> <8735leq9fz.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39896"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: "emacs-devel@gnu.org" To: =?utf-8?Q?H=C3=A5kon?= Flatval Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 26 02:02:32 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 1nCWhj-000AB0-SX for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Jan 2022 02:02:31 +0100 Original-Received: from localhost ([::1]:37968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCWhi-0002hB-6w for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 20:02:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCWgs-000218-TH for emacs-devel@gnu.org; Tue, 25 Jan 2022 20:01:39 -0500 Original-Received: from sonic312-25.consmr.mail.gq1.yahoo.com ([98.137.69.206]:45506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCWgo-0005Tq-94 for emacs-devel@gnu.org; Tue, 25 Jan 2022 20:01:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643158820; bh=SL0sQZc0RLdke+atxtKXNDrYCZ8OFoVa+MvqMaCdsdo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=byl5VDURRXnHFTtlc+PtrjIHAxFZ75vqWNTurgPKkhBEOFdI6iItVJqloBrVZVNqJ0ajwkBoZpy1iaNxt6A07D0LDq8FkBm3qwjN4j+2k2LAvFnaghQ7FsqI2G11nnqaL/PbqlleFJkwGdjRYQ0kgZFtRDHWSSkcyYpnYQjuN/8ArLfE1fr+Qx4rshdlP3qwUzvz8GTzix3sl1mlpPszMIzW0riZeGvVFYqntvEPo7tqawUlTvCPJsLcN2AF9EgZbseH0czqaRam1esYdrmVdmtRUWS7N3EWoMtoHChfGto2/rXCxwc/1f7ziIMrSR2PDK295jYDL8NNSejiA+3V+A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643158820; bh=WcN77YTy6vZl+HwJkk63wGU+zmw4qpMnZpITQRJBbbS=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=EcgpOOXNRYac7vxB7ffFZzcu3uX5TZ9QqdLL1BgODNLR9dlQU+Yrsk9aypu07ymcKk4eEFOCKb8whw05JCx4C0CNqZyBwF+5JayQzQNwbyPHlQySQUi9J+6GWw27zn/EAGuMMUyrgPsSisARnlwj4Mn2iYmiN2rzqRHWMPzJ/paIJMXF6m4vrFuGqB7Pq2x0ZOG7y0lgxw4ekoRMk1kFbHbECIMps4Yv0xYUiVEjMyeXiT7QzS/mmHiKc1mT5poUnvU18ofeO9ujyPt2J5JcWDyYzpHhefELzw2d0hTODGd1zmI38O4tz5rfqSBf/qXErGdKQkh/vkcJ159PnTAPfA== X-YMail-OSG: iu_CslQVM1lkx5Qqz0wJgqjN5NxDIyfgCY9AyiO9zibyOJZT5vO9hea6pYiSpRc _iEr6S6BvA1bwtrf8Iuk8i2b4RXWmRbtQznfdJ2wqvtvVSDJoBp2ChtUNjTk4M7dTD6YJYyVv.qu LVy0RscKFKSVQfq4dpof.T6WsTh1ZYEaO7cfn7JVIFCHVKHBoAX_pG9NL.NVbWRTqr18XtFRIZCD If6hEEFsgLzBB60eoz5EFIxAIm4eBlY1ccuE.iVKWVpVuj1DNoOFPqS3iOe5eIp1vq3Agf6DcKfZ 8QkqCckk2dyBsW7XPGE6I7f277YDMVTmLf1QCVi6OhSEBTsIWlNnDnnmGy0E6oTGaXIe6KjSRDeO ynUcqkBfNBPsSOSR0bHHzgtmnRAcXb17XBA5ADrtA8wXAHEfWsenMEXy67ln0z7EPKkktEIOIvpF k7mue4XW36Q_UTd12FIE3cS2DlhJ_QJjjPkM7W12czgdgjBJqGMSHQgRrlD5HMzM9jxN_qUKyGDh 1fE78AU1WCXg6jSfL6Xn07tH3Z7KpUkJvbcGN0l6.p2.86NULyIAu.8Tq5VHXaNk0IDgl51izlNT tfuOipEOQSOd6d5WXBba0MuWF8dg3Aalgk5WR1mQryxbeZLVL0sc_1cfmfsveTSKlONH4aIZFr8o A2DbS7EKLxm9doDVA9jHR3_AFVwzJST7VVv3NJCSlcbC3IfqhgSuVbIryAVD1kDVTluEaKhw_cLj nngc.Y6PtTP0PUtPtblgL_6QAwubAJIKnASYmu7XdsAYWhU8nwLIgUNxXdemxB7SEs_IdjJ94nPM 9lTdxqQbKgNYXqNmJfjzBEbyL..iBNPfO1S8MvX7XE X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 26 Jan 2022 01:00:20 +0000 Original-Received: by kubenode514.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID bfe910b3d0019a1626581c4ec644b43c; Wed, 26 Jan 2022 01:00:15 +0000 (UTC) In-Reply-To: (=?utf-8?Q?=22H=C3=A5kon?= Flatval"'s message of "Tue, 25 Jan 2022 18:53:07 +0100") X-Mailer: WebService/1.1.19615 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=98.137.69.206; envelope-from=luangruo@yahoo.com; helo=sonic312-25.consmr.mail.gq1.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:285405 Archived-At: H=C3=A5kon Flatval writes: > When I remove the "#if defined (USE_GTK) && defined (USE_CAIRO)" > preprocessor statement in src/xfns.c and then configure with > --without-cairo, I see some visual artifacts in the result. For > instance, when marking text, the marked region becomes transparent > (without even having set the alpha-background parameter yet). I installed most of the code that can be used to resolve that on master several days ago. > If I instead configure with --with-x-toolkit=3Dlucid, Emacs outright > crashes on startup with the message > "X protocol error: BadMatch (invalid parameter attributes) on protocol re= quest 70". Could you run Emacs like this: ./emacs -q -xrm 'Emacs.synchronous: true' And show a backtrace in GDB from the crash? Thanks. > I get no such error on these two build configurations when the > preprocessor statement is in place. > > I tested this using i3 wm on Gentoo. > > In time I would like to see background transparency supported for other > configurations as well, but leaving the preprocessor statements in seems > like the easiest way to avoid havoc.