From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: Can we make border width zero by default? Date: Wed, 07 Apr 2010 18:26:17 +0200 Message-ID: <4BBCB229.7010003@swipnet.se> References: <4BBC967A.303@swipnet.se> <877hoj6zin.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1270657621 17073 80.91.229.12 (7 Apr 2010 16:27:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Apr 2010 16:27:01 +0000 (UTC) Cc: Emacs-Devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 07 18:27:00 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzY5e-0002Zu-Up for ged-emacs-devel@m.gmane.org; Wed, 07 Apr 2010 18:26:55 +0200 Original-Received: from localhost ([127.0.0.1]:56137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzY5e-0002GE-BH for ged-emacs-devel@m.gmane.org; Wed, 07 Apr 2010 12:26:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzY5Z-0002G9-Kh for emacs-devel@gnu.org; Wed, 07 Apr 2010 12:26:49 -0400 Original-Received: from [140.186.70.92] (port=50413 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzY5Y-0002G1-CR for emacs-devel@gnu.org; Wed, 07 Apr 2010 12:26:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzY5W-0006EO-TL for emacs-devel@gnu.org; Wed, 07 Apr 2010 12:26:48 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:56817) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzY5W-0006EA-Nh for emacs-devel@gnu.org; Wed, 07 Apr 2010 12:26:46 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 2FFCEE8BC4 for ; Wed, 7 Apr 2010 18:26:19 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmM6APxOvEtV4S1uPGdsb2JhbACDEoRSkz0MAQEBATUtq3WQW4Esgm9uBA X-IronPort-AV: E=Sophos;i="4.51,379,1267398000"; d="scan'208";a="60754558" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 07 Apr 2010 18:26:19 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 0C2A77FA01A; Wed, 7 Apr 2010 18:26:18 +0200 (CEST) User-Agent: Thunderbird 2.0.0.24 (X11/20100317) In-Reply-To: <877hoj6zin.fsf@stupidchicken.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123316 Archived-At: Chong Yidong skrev: > Jan Dj=C3=A4rv writes: >=20 >> While looking into bug 5848, I experimented with border width (not >> internal border width). The default is currently 2 pixels. I'd like >> to set that to zero. >> >> The reasons are that some window managers (metacity at least) >> overrides this and sets zero anyway. Other window managers like >> compiz make the border on two sides transparent and black on the other >> two. Probably this is some effect applications can take advantage of, >> but for Emacs it just looks strange (see screen shot). >> >> For the Gtk+ port, border width has no effect, it can't be specified >> in Gtk+-functions and it is hardcoded to 0 in the Gtk+ code. >> >> Any thoughts? >=20 > Fine by me (for the trunk). I don't know the reasoning behind the > current 2px default. It was/is used to mark the frame with the focus. The focused frame gets = a=20 black border, the rest a gray border. Jan D.