From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Garklein Newsgroups: gmane.emacs.bugs Subject: bug#73401: [PATCH] Make window dividers and internal border respect alpha background Date: Fri, 20 Sep 2024 14:25:14 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000b409400622912918" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38160"; mail-complaints-to="usenet@ciao.gmane.io" To: 73401@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 21 06:08:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1srrPj-0009jV-Af for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Sep 2024 06:08:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srrPN-0002Oz-UL; Sat, 21 Sep 2024 00:07:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srrPL-0002OP-MD for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 00:07:43 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srrPL-00026v-Dm for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 00:07:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=i3hgVPVQumKHdlMHV3WEibqhgbV6POKZqfNRwXOlAg4=; b=nU2oU4x/CIAFErKSMqVTivIOTsQAgs1lSqek+TkrAqZqb558JwwlPJfrnbJ66bcr62o1LwQasETCLDypq8TNfAwamiZ4ECE0J+Ls0tvGdhr89n2867dluksnrMF/C0bWEmI/ymYyJPGYujaY3KlxQhCeaPYyHDVpvAWgC7qP27yLjFQ9fFly500g44xnyzbS50u0Z9/Zt+qQmZYwqdEbjKpr/+8JDB40eyzG0lBsnaUtVd+STt51XkCNAZyGRQNNbL27y4dhiGYB2VjfiUXuwoiEH/oT3DK/UWpBPS2JAZJpsxo34sgLylQo6kLB2blisiPI8mg+PsUTtRLkCbrGlA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srrPe-0001o3-Pg for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 00:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Garklein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Sep 2024 04:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73401 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17268916406858 (code B ref -1); Sat, 21 Sep 2024 04:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Sep 2024 04:07:20 +0000 Original-Received: from localhost ([127.0.0.1]:36870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srrOx-0001mQ-4b for submit@debbugs.gnu.org; Sat, 21 Sep 2024 00:07:19 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sriKH-0003v4-RX for submit@debbugs.gnu.org; Fri, 20 Sep 2024 14:25:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sriJu-0002xx-Jc for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 14:25:32 -0400 Original-Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sriJr-0005jv-SS for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 14:25:29 -0400 Original-Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-82ce1cd202cso113458939f.0 for ; Fri, 20 Sep 2024 11:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726856725; x=1727461525; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=i3hgVPVQumKHdlMHV3WEibqhgbV6POKZqfNRwXOlAg4=; b=ZcLUUsqO2eMP9reSJPyXz+sTNgiEm2X42kI798GTWJ2JZ6U0M9b4XN/XeGQfZeCM5a mTnxv+MtaBj3aISt2VleEXVYcxDOIq2gYFgFG+s8lnP/1K1pPzRVpVzS0euXc5DgP4bB Y3oBp/JfWktZBjoqhiVaiTbf5+FBbF96C+o3GThRqBLyfuAm77ABng+a2Xd+4OEW+bGa p8QaC122OJIPs6T8KjVkH80cy9lKzDgWY3eWbbeWznFHliiLxeGvOS8PAjTmt4lTi9uG Qquk2OCe1uNJ4bsODXgisvEUclGZ8dFGiFs4pExmCtqrEuJeNebf9gdTS5WpEjTbc7pN y/tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726856725; x=1727461525; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=i3hgVPVQumKHdlMHV3WEibqhgbV6POKZqfNRwXOlAg4=; b=t59WbNSx+arFWuI0BtOcOMcLI89W2/31UikmNE6JQ27QFtvO5TzKy0Q93Sagh8DDD7 jN5UecB7Hlb1AI3YeTkwdVuaZ2TIoqyZsp8mcmbzKvXGkYCdWKKDUU4HvX1pVXcKkWGa jzQdyWLV4o+BIPB8LFE66wSpWqoh6Q4aRH8OfS+jYGddD7UYdBY1GyyyPgkyEtZIN+Nq iBukKUpwX+e9sJdDm2uLJChu7g7FbM0zpNkhN3W/0MdMW8ecxL/VV2W17on7m1cAc8eE tlKwFC9Lfzgbtv6AL8mfEA+LhWyL2XcgII1eurPTcEzNmTTcZPayKHgOtq1mQSkkyxSR hlFg== X-Gm-Message-State: AOJu0YwTihoPPIE/eEzisRG+DSnOz3jkghKI7H4q9QezX9TgpaqtmEHf aV5/uUrprobLNPzhsewMtwrlworMX/appwlI30h0XEHNA/YtX1peBfaULIF4lseDUyAkDjKYYXl yQwauDgQGkv+s9o1BI1rAbgw2vD8thOWs X-Google-Smtp-Source: AGHT+IEPs+g882QRQnHPQPxEhJSNF7evfx849h927wzdV8zIqUB/fkXC+7BuEj+jykPJAUtKnlINh1shHgXiR9I+lD0= X-Received: by 2002:a05:6602:2b06:b0:832:13ce:1fa3 with SMTP id ca18e2360f4ac-83213ce5b76mr186884339f.8.1726856725523; Fri, 20 Sep 2024 11:25:25 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::d2c; envelope-from=garklein97@gmail.com; helo=mail-io1-xd2c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 Sep 2024 00:07:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292143 Archived-At: --000000000000b409400622912918 Content-Type: text/plain; charset="UTF-8" Hello, I'm using EXWM with thick window dividers and internal borders. These areas currently aren't affected by the alpha-background frame parameter, which looks very ugly. I can't think of any reasons why anyone would want this, so I think it's just an oversight. This patch just makes them respect it. --000000000000b409400622912918 Content-Type: text/x-patch; charset="US-ASCII"; name="dividers-border-transparent.patch" Content-Disposition: attachment; filename="dividers-border-transparent.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m1b1v3350 ZGlmZiAtLWdpdCBhL3NyYy94dGVybS5jIGIvc3JjL3h0ZXJtLmMKaW5kZXggMGMyMGQzOC4uN2Y2 NjVkOCAxMDA2NDQKLS0tIGEvc3JjL3h0ZXJtLmMKKysrIGIvc3JjL3h0ZXJtLmMKQEAgLTc0OTcs MTMgKzc0OTcsMTMgQEAgeF9kcmF3X3dpbmRvd19kaXZpZGVyIChzdHJ1Y3Qgd2luZG93ICp3LCBp bnQgeDAsIGludCB4MSwgaW50IHkwLCBpbnQgeTEpCiAgICAgewogICAgICAgWFNldEZvcmVncm91 bmQgKGRpc3BsYXksIGYtPm91dHB1dF9kYXRhLngtPm5vcm1hbF9nYywgY29sb3JfZmlyc3QpOwog ICAgICAgeF9maWxsX3JlY3RhbmdsZSAoZiwgZi0+b3V0cHV0X2Rh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