X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71B933858C2D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1692947944;
	bh=LXMN+YPmTLfJtWQf3JwzZv2/PFQMPQqNwff2vhf67FM=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=QuHr5nutj03LQMqlaYamBYUVO/XphY77901SRneh+pTvlSInA+FmUTkkhtpCj4mq9
	 7wjndq4OJBIwNSTgFH5LMrvexZmA/CMI3/foyxkNBJm0GdWaA/bqlVZGPK1msSxAzl
	 Ph0kXFeHPIimIDEDkk3MO5Of79LPq2QmT86cEvI4=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 229053858C53
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1692947902; x=1693552702;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=nPcG7w7hlgh+dxrjFJpK1bhGjE6arfZ4Qn3kbI8emhs=;
 b=QrOJxCmVSYRo+tEL53tls38s4cMt9iE8UQ6pRKHL7rhb9UQVI+oMhOi+M9suTbdDgD
 rkaoh7NQDurm975wzGautZQqcKKAK5xwCR+X0l58Zu0w3lBbGoxrxGSiv+TIgQif6dS/
 slzg3xHuXRT+aW608wZsCK0BLWX7Tgh5X6OWmG7m260+MWj/4S7FWUcXl1cBo4LgudVP
 x3U/x1M/LDMUSXlj9c2h9PYLX6HbQyi2KjOTuMG18uCw/QaXrlbJEYwOhVXeDfyuhqCH
 PAxeZWbLvBceBTLLsD9b0XQhfHZIbooplx1iWZmBgeGugRTzyX7gUF+8DHe8UxnNy+/h
 1/jg==
X-Gm-Message-State: AOJu0Yylx5Ky1r2dNF62V3Bf7iHHC0boU5iiZJ/KsxQzmMy6Fte0Bcyu
 1LOFWLOG47LWTCJ0yYmIhV6mRIWcBFwpFnwort8=
X-Google-Smtp-Source: AGHT+IEbkCDPkW5Q+YKmvsmj1RNK/o0VGG0UFD/P79/cjws7BkWsBqzgK2IdlWx24fluHFmXXmrc4RlpLhyRjbx0YeY=
X-Received: by 2002:a05:6512:ba6:b0:500:a378:db71 with SMTP id
 b38-20020a0565120ba600b00500a378db71mr2826371lfv.57.1692947902330; Fri, 25
 Aug 2023 00:18:22 -0700 (PDT)
MIME-Version: 1.0
References: <2ebdb074-383b-4948-8ebb-a41821dd7356@jhmg.net>
 <CAKwdsS-MGPAjmb34Lf6z0EjA+n0J=Cfwp9Cg_9WF4NHX3_2Yxw@mail.gmail.com>
 <20230825004159.GA2657@phoenix>
 <7d6b3a36-b1ce-6755-a97f-7cf52fd70ae0@towo.net>
 <20230825065258.GB2657@phoenix>
In-Reply-To: <20230825065258.GB2657@phoenix>
Date: Fri, 25 Aug 2023 00:18:09 -0700
Message-ID: <CAKwdsS_+2HyDM=cyvhfSD0wJEsWXe-CDQiK9aMEZiG544a=RtA@mail.gmail.com>
Subject: Re: mintty window border?
To: Gary Johnson <garyjohn@spocom.com>, cygwin@cygwin.com
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Backwoods BC via Cygwin <cygwin@cygwin.com>
Reply-To: Backwoods BC <completely.and.totally.trash@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 37P7J5GZ031367

On Thu, Aug 24, 2023 at 10:54 PM Gary Johnson via Cygwin
<cygwin@cygwin.com> wrote:
>
> On 2023-08-25, Thomas Wolff via Cygwin wrote:
> >
> >
> > Am 25.08.2023 um 02:41 schrieb Gary Johnson via Cygwin:
> > >On 2023-08-24, Backwoods BC via Cygwin wrote:
> > >>On Thu, Aug 24, 2023 at 11:08 AM Jim Garrison via Cygwin
> > >><cygwin@cygwin.com> wrote:
> > >>>This is an update to a question I had a couple of years ago
> > >>>https://cygwin.com/pipermail/cygwin/2021-April/248367.html
> > >>>
> > >>>Windows 11 now has an "accent color" option under
> > >>>Settings/Personalization/Colors that adds a thin (1px?) border around
> > >>>all windows, in a user-selectable color.  This definitively eliminates
> > >>>the problem seen with overlapping mintty windows that have a dark grey
> > >>>or black background (where the shadow isn't visible).
> > >>>
> > >>>Just FYI
> > >>>
> > >>>--
> > >>>Jim Garrison
> > >>>jhg@acm.org
> > >>This is also true for Windows 10, although I may have had to
> > >>explicitly enable it (I don't remember).
> > >It's in the same place on Windows 10.  I just enabled it.  Thank you both!
> > But it adds the thin border only to the foreground window...
> > Thomas
>
> Yes, it's not as good as having a border around all windows all the
> time, or around just mintty and gvim windows, but it is so much
> better than nothing at all, or so it seems so far.
>
> Regards,
> Gary

I get borders around both active and inactive windows, but then I've
spent hours (probably days) messing with registry values in an attempt
to gain the kind of UI control that was built into XP. I don't know
which change I made that gave me borders, but it is possible.

Any combination of these changes may have done it -- or none of them
(I changed a lot of things):

[HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
"AccentColorInactive"=dword:00ccddee

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"MotionAccentId_v1.00"=dword:000000db
"AccentPalette"=hex:a9,ef,ff,00,79,e6,ff,00,48,d2,f2,00,00,99,bc,00,00,6b,83,\
  00,00,4b,5c,00,00,32,3d,00,e3,00,8c,00
"StartColorMenu"=dword:ff836b00
"AccentColorMenu"=dword:ffbc9900
"TaskbarColorOverride"=dword:ffff0000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"NoSizeChoice"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"NoDispBackgroundPage"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"NoDispScrSavPage"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"NoDispCPL"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"NoDispSettingsPage"=dword:00000000

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

