X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8DC2D3857C69
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mark@maxrnd.com
Subject: Re: mintty window border?
To: cygwin@cygwin.com
References: <65d75c6b-b532-562d-22a9-a2e2a1b1b37d@jhmg.net>
From: Mark Geisert <mark@maxrnd.com>
Message-ID: <ef3af5d5-c90b-5cf2-15f6-2ad07cbc3bf0@maxrnd.com>
Date: Sun, 25 Apr 2021 17:15:52 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Firefox/52.0 SeaMonkey/2.49.4
MIME-Version: 1.0
In-Reply-To: <65d75c6b-b532-562d-22a9-a2e2a1b1b37d@jhmg.net>
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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>
Cc: Jim Garrison <jhg@jhmg.net>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 13Q0G6WF001141

Jim Garrison via Cygwin wrote:
> Mintty's window does not seem to have any border at the left and bottom.
> The top of the window has the title menu bar and the right side is the
> scroll bar.  When I have multiple mintty windows open, and they overlap,
> since there is no border, one window blends into another.
> 
> I searched mintty's options and there doesn't seem to be a way to
> specify a border.  If the window background is a light color, there's
> a subtle drop shadow that helps a bit, but with a dark style it's
> impossible to distinguish the windows.
> 
> Here's a sample:
> https://drive.google.com/file/d/10zKWdie_nA-_hzsN8i_GeCw7VadJBmol/view?usp=sharing
> 
> Is there a way to make it draw a border?

As Thomas pointed out, not mintty's fault.  I ran into the same issue on first 
upgrade to Windows 10.  Windows 7 allowed one to set window borders; Windows 8 and 
up don't.  But one can adjust registry entries to fix the issue.  Check here:
https://www.thewindowsclub.com/change-desktop-windows-metrics-border-width-windows-8
The fix outlined there works for Windows 10 too.
HTH,

..mark

-- 
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

