From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Help writing a patch to allow transparent backgrounds? Date: Wed, 10 Feb 2016 20:35:14 +0200 Message-ID: <83lh6s9zx9.fsf@gnu.org> References: <56BA043E.1050305@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1455129360 26683 80.91.229.3 (10 Feb 2016 18:36:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 18:36:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 10 19:35:56 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aTZcH-0006XK-TB for ged-emacs-devel@m.gmane.org; Wed, 10 Feb 2016 19:35:54 +0100 Original-Received: from localhost ([::1]:41859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTZcH-0002zU-5i for ged-emacs-devel@m.gmane.org; Wed, 10 Feb 2016 13:35:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTZbt-0002z4-Ua for emacs-devel@gnu.org; Wed, 10 Feb 2016 13:35:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTZbp-0003md-UK for emacs-devel@gnu.org; Wed, 10 Feb 2016 13:35:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTZbp-0003mZ-Qw; Wed, 10 Feb 2016 13:35:25 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2900 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTZbp-0002MT-2C; Wed, 10 Feb 2016 13:35:25 -0500 In-reply-to: <56BA043E.1050305@gmail.com> (message from =?utf-8?Q?Cl=C3=A9?= =?utf-8?Q?ment?= Pit--Claudel on Tue, 9 Feb 2016 10:22:38 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199713 Archived-At: > From: Clément Pit--Claudel > Date: Tue, 9 Feb 2016 10:22:38 -0500 > > The only way to get transparency at the moment seems to be with the 'alpha frame parameter. Unfortunately this makes the whole frame transparent, instead of just the background. I'd like to make Emacs only draw text to the screen, without painting a background. I'm on Linux with Gtk3. > > I expect that this would require changing the way the background is painted, and changing the way faces are drawn to not add a solid background. I can try helping you with doing that in a non-Cairo build. I'm not familiar enough with the way Cairo drawing works (and I'm not sure we have here anyone who does). Let me know if doing that in a build without Cairo is useful enough for you to work on that. Thanks.