all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can we make border width zero by default?
@ 2010-04-07 14:28 Jan Djärv
  2010-04-07 15:41 ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Djärv @ 2010-04-07 14:28 UTC (permalink / raw)
  To: Emacs-Devel

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

Hello.

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?

	Jan D.


[-- Attachment #2: border1.png --]
[-- Type: image/png, Size: 3508 bytes --]

[-- Attachment #3: border2.png --]
[-- Type: image/png, Size: 3462 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can we make border width zero by default?
  2010-04-07 14:28 Can we make border width zero by default? Jan Djärv
@ 2010-04-07 15:41 ` Chong Yidong
  2010-04-07 16:26   ` Jan Djärv
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2010-04-07 15:41 UTC (permalink / raw)
  To: Jan Djärv; +Cc: Emacs-Devel

Jan Djärv <jan.h.d@swipnet.se> writes:

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

Fine by me (for the trunk).  I don't know the reasoning behind the
current 2px default.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can we make border width zero by default?
  2010-04-07 15:41 ` Chong Yidong
@ 2010-04-07 16:26   ` Jan Djärv
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Djärv @ 2010-04-07 16:26 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Emacs-Devel

Chong Yidong skrev:
> Jan Djärv <jan.h.d@swipnet.se> writes:
> 
>> 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?
> 
> 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 
black border, the rest a gray border.

	Jan D.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-07 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-07 14:28 Can we make border width zero by default? Jan Djärv
2010-04-07 15:41 ` Chong Yidong
2010-04-07 16:26   ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.