From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jose A Ortega Ruiz Newsgroups: gmane.emacs.devel Subject: Re: master 1555453694: Implement `alpha-background' on non-Cairo builds Date: Tue, 01 Feb 2022 18:19:16 +0000 Message-ID: <8735l2laaj.fsf@gnus.jao.io> References: <164359565887.4040.6267298953476481105@vcs2.savannah.gnu.org> <20220131022059.4E94CC40706@vcs2.savannah.gnu.org> <87a6fc4p8m.fsf@gnus.org> <871r0ofxi5.fsf@yahoo.com> <87fsp42zui.fsf@gnu.org> <874k5ke7dm.fsf@gnus.jao.io> <87sft4e5w6.fsf@yahoo.com> <87y22vda17.fsf@gnus.jao.io> <87czk7crda.fsf@yahoo.com> <877daf70xo.fsf@gnus.jao.io> <87mtjb2nyj.fsf@gnus.jao.io> <878ruvcgd8.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="8397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 01 22:29:33 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 1nF0iT-000233-0q for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Feb 2022 22:29:33 +0100 Original-Received: from localhost ([::1]:55040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF0iS-0007CK-3Y for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Feb 2022 16:29:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nExkR-0007UL-Jd for emacs-devel@gnu.org; Tue, 01 Feb 2022 13:19:24 -0500 Original-Received: from [2001:470:142:3::e] (port=46064 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nExkN-0000DK-1d; Tue, 01 Feb 2022 13:19:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=SVbsvnv4QpXOiVuV4h0z3AQbbkpzSZLRtGPGz1KoUCw=; b=fs4BOSjtb4PKJtFnNXjw g3Ucygzucrx2dDSxIM82lDqljM3eqHmTEagMT/TeTzz8xYQSB/1STch5YI9cYAM/e08mXHvdYOtvm QtUbTSD3BaKldvTlb9m7x7GBWbnwd+ZhdPjuAmA4x5Q2K1r06tJwDuv/z3xeUYRujgX5Jo/W6RVJw pWSgNd6w1V6p5Tj855eMIl+EMmTn9BbHWQQRYR7lMKfL7pyTQSTxj6Ds/A7HH6h5rwzeEyzul59CN X5pAiWi+EKPLAQki6GVBdoxdlEiUS5oKZVEVF6YjAWN19PgKjxO9qA9E4MmOyWwQ0/Oj9620scRXt ME1pjWlsVvJbkA==; Original-Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:35198 helo=rivendell.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nExkM-0006E1-Iw; Tue, 01 Feb 2022 13:19:18 -0500 Original-Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id a99bcb6a; Tue, 1 Feb 2022 18:19:16 +0000 (UTC) In-Reply-To: <878ruvcgd8.fsf@yahoo.com> X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: 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:285737 Archived-At: On Tue, Feb 01 2022, Po Lu wrote: > Jose A Ortega Ruiz writes: > >> let me add that i just tried with emacs compiled with lucid and there >> alpha-background works well with exwm and picom > > That shouldn't be possible, since it's disabled on Emacs builds with Xt, > as Xt doesn't really know what to do with a 32-bit visual. (i.e. Xt > will crash and lwlib will "accidentally" draw things with the alpha > channel set to zero.) (what is it supposed to happen with --with-x-toolkit=no then?) > > Please evaluate (x-display-planes) in that Emacs build and tell me what 24. > it returns. Or perhaps you used the old `alpha' frame parameter, which > does work on Xt builds, but also changes the opacity of the foreground > text? well, i double checked frame-parameters, and it said alpha-background. but the effect was the same as with alpha, so i guess it was possibly a perhaps unintended fallback. nonetheless, after your update yesterday to apply a mask to images, and a recompilation, alpha-background stopped working at all both in lucid and no toolkit, which i guess is what you expect, even with a compositor like compton. if that's so, all is well. i am actually happy with alpha for my use cases (alpha-background is working well in wayland with a pgtk build, when i'm not in x11). cheers, jao -- To see ourselves as others see us is a most salutary gift. Hardly less important is the capacity to see others as they see themselves. -Aldous Huxley, novelist (1894-1963)