From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?H=C3=A5kon?= Flatval Newsgroups: gmane.emacs.devel Subject: Re: Sv: Sv: Sv: Support for background transparency Date: Tue, 25 Jan 2022 18:53:07 +0100 Message-ID: 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32546"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 27.2 Cc: "emacs-devel@gnu.org" To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 25 18:30:02 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 1nCPdp-0008Hw-Kp for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 18:30:01 +0100 Original-Received: from localhost ([::1]:45886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCPdo-0008UW-9K for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 12:30:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCPcE-0007W0-VY for emacs-devel@gnu.org; Tue, 25 Jan 2022 12:28:22 -0500 Original-Received: from mail-vi1eur05olkn2096.outbound.protection.outlook.com ([40.92.90.96]:44769 helo=EUR05-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCPcB-0007gy-UD for emacs-devel@gnu.org; Tue, 25 Jan 2022 12:28:22 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XgBIm8f7vU6frv3maSqL7uHStbLc0Qok+I2S0tKnQzWHokive2C6QoBAMmH/hrexX7xT/3iohj4AdX+XOEfrPa+zW4BIvr0Z5P5dGFN5uTMlgYQjRaqruY/rFBVZ0X3ciFdySifTrMUAI+Ny1BmIYXs/hbpN+WDsij5IWn7im3Px3tPxvysEe8m/nvex1TOoy/pRhTxYOV1Q9rh1GqqBfjEsx4Vhcp8UQsV1wHXoztN1HdMEAnC+CGexZB3LlJbF4N980iOkoHIKL543EQYMx++NsKNxsMvhwUG60AZ6BRgM+6mErJjVg9RQTWWeLWebiEvYts/5vkqe80Q+SSzXAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r0un+STqO0w/hyBG3ltCLAlhi02GsnrSQvgS0VLge7o=; b=jmrkXj2PJDEIh7VdJYvK7zQ9Any6e8YZd+SbxAp7X3p2yPyIr7zZgSnjyD9/wFixToUXCxKUr/N/qPCf71diGVQlWH69RYMaE6UCRm3NeBaWPHAjL6mNgM5sHNBZtbYypv3bwspcy14tPP8YQz9kITj56TtB4hzX9X+Ve/801SYlE+Oa8gbQK7UMjyd1VMPr+AfzDQMGfFBk+9KkCUnCEbCDq4RFkyX1ugQQjdL67n+/62gTCsaqPYrLQUFMkoF1gWn4IDAdjX0CI7Rq3yn4cwn3LKxcdRtYmCjpGz0d3h/272kLywL+Kv4zRn8CZZ0AJJSPamRigqEnUI1tcRABeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r0un+STqO0w/hyBG3ltCLAlhi02GsnrSQvgS0VLge7o=; b=uU49pbbD1khMer0DIiBPdIJuLwLhsXCGI8vIK2HtRmxIVLs2PeU5z9VgaUgrKFm6DsYuspdYvxVXWNfwbdojKTXlzJVV26009FoWAz+ACZcL88A6m/qMbBeHfVwFqYqoQ1G8jaWIiOi7DEnIc2RSGy/AGFmxCQK8wQmnuJeCLgnnfWq8QaXYC2flbJXEluegoXvcxGMNESl++f/PgwIXU4lwMHtlEpXB9cGipLKeAWZ4N87JLVvuQw9G4+YzjAY2NfIfNFlLTUr3/6POjSFf39jZa89uAqe2BxH13scYibfnskYwRQhr6wDkATq6WN3P5STIwGbVCcPz0vUpenYIKA== Original-Received: from PRAP251MB0688.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:293::21) by AS4P251MB0510.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4b5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.17; Tue, 25 Jan 2022 17:08:08 +0000 Original-Received: from PRAP251MB0688.EURP251.PROD.OUTLOOK.COM ([fe80::15ff:34d8:e4d9:a23f]) by PRAP251MB0688.EURP251.PROD.OUTLOOK.COM ([fe80::15ff:34d8:e4d9:a23f%5]) with mapi id 15.20.4909.007; Tue, 25 Jan 2022 17:08:08 +0000 In-reply-to: <8735leq9fz.fsf@yahoo.com> X-TMN: [n4GkgiH8FPttR1ul8IOqbD2BAoiSWssgMFNCegACWdTfTrg3P4SqGfJenaliOs93] X-ClientProxiedBy: OL1P279CA0032.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:13::19) To PRAP251MB0688.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:293::21) X-Microsoft-Original-Message-ID: <87ilu78z9e.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a55354b7-9a5e-47db-6484-08d9e025429a X-MS-TrafficTypeDiagnostic: AS4P251MB0510:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ga+7DDXYwAYTKRDllmKukbbaYpZvv2d5A2xABqzpAkcV9qtuB6h/OS8R1JfchTeJDu/JyOquqzJUr+MN8aPvm90twm4jTiutBzaNhwWIhGqibN0ivoSW179fyatSxU4Q5FMpbuEQ/O80ndU+XplV9bRK6ElZhfWa2KMhcONWnY0t7xO3xeFgYzIv1OqwpntKfDneDUefi8dqWlwcbDmqh1sYZRRaQB2HJWrxG31OuiJFPgWfdK2rG3fZJvQseCvy6KFBk2F02A46Dzfx0swPSPexlGqrem8hmM4u6dFxjAVvVJk94DSfDpV+GOV9Vj87RDrdRdpcOo6nuveUZp448vi/2l175jhUxbzxMzhtHmWsEaP5CKZbeO5fmN9ySA0OFq3UfgRTRtAQnnbvX3FSTACk5upaVudqNyVgYKABwctJ35ID2Y2Vq7K3ve/6VDFHqYtuphHchOIOy6Sw20JVcKN/JMm1UQ6xaB/DzrNPCIBv8mSxslP8eGNh4Brl5ATM32GuRp/WCNxavZgSYNsQQJcS4RmLgctqutcfhu1RhZA8Vq+wlepOSXNOVZvmJ3P8s+GJFBqKWdnTJ2Z7B0Pa8Q== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?FoFXNfgMCnsPYehYIX/jutJdotV3B2TGCoaK5hhqidluUSydwz3I8+uN8SDM?= =?us-ascii?Q?MM0kENT6kKVaFJzaDR/VwOYd6ZlzraBSaNLWfxK2Le+b2RBZg3zc4Tx6QGlB?= =?us-ascii?Q?QaiYjCo5A26HtgxbBzOF2gUOkG7JHOJaleFcWdfOSFWxDJ4i+p/mot2DNTuq?= =?us-ascii?Q?Gz76ZFI9yBHh6tYXEHlJaZMZ59FK2SDqAM3cWhyQ2C6PjDLxC4sHwHZOumdN?= =?us-ascii?Q?DAisdoGcN6C9QJwd6GIiQxOwOHCo2qpehykVn3RDuAWfzUmbrNyDQ6k9TKyA?= =?us-ascii?Q?OpHkWCK19aX3VPO3TG/p4GK3BKRsQ72a5pM5AWs9INL7haNptR7anZ7kXKjR?= =?us-ascii?Q?Bqo+5h+MeZlTl8Xxoo+mxDYf3xKHg+1BOIpwLg4n9mfe7sUfCvZ3bd8I0nki?= =?us-ascii?Q?Mnm8rEMLXVZ8ajCYReatz3aK5+RVNRpQ+0CIq8J8QDozqN5+bfxmKdu+CPQb?= =?us-ascii?Q?TK04X3SpRI1HBfJrtCYZCPxnyAZFNEzskBAB++kFIMavrUGaHjn1y5WwRxT/?= =?us-ascii?Q?zEayAoCwz9hnWTIAcL2K9TWM+grYIrv+hoXEHEHUcqSW4ANLnZe47/OjxexI?= =?us-ascii?Q?P0BEpn5XbwlwKHm9HGUc2Plkn6FHbbXm4VraYcgDBHtGGt88ATmoEuy+9kws?= =?us-ascii?Q?qM X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-00b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: a55354b7-9a5e-47db-6484-08d9e025429a X-MS-Exchange-CrossTenant-AuthSource: PRAP251MB0688.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2022 17:08:08.7961 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0510 Received-SPF: pass client-ip=40.92.90.96; envelope-from=hkon20@hotmail.com; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:285375 Archived-At: > Could you please elaborate as to which artifacts you refer to? 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). If I instead configure with --with-x-toolkit=lucid, Emacs outright crashes on startup with the message "X protocol error: BadMatch (invalid parameter attributes) on protocol request 70". 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.