From: Timo Savola <timo.savola@iki.fi>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: XEmbed patches
Date: Fri, 20 Jul 2007 11:24:25 +0300 [thread overview]
Message-ID: <20070720082425.GD27107@movial.fi> (raw)
In-Reply-To: <46A05BFA.2010900@swipnet.se>
On Fri, Jul 20, 2007 at 08:53:46AM +0200, Jan Djärv wrote:
> Oh, I forgot. I think the Gtk+ scrollbar patch looks bad if you have a
> theme where the scroll bar isn't as wide as the character width. The
> current behaviour puts the excess on both sides. With your patch, the
> excess are on one side only.
The point of that patch is to make the embedded Emacs blend into the
surrounding (assumedly) GTK application. Without it, it leaves a gap
between the GTK-themed background color of the scrollbar and the GTK-themed
embedder window. Making the gap wider on the Emacs side seems like a
smaller bad.
(Aligning the scrollbar seamlessly against the X window border might also
look better with some window manager themes designed for GTK-based
desktops.)
My patch changes that unconditionally--not just for embedded frames. Also,
the assumption that the embedder is always a GTK application doesn't hold
water.
I do see this as an issue, however, but I don't know the correct solution.
Here are my proposed solutions:
1. Enable it on embedded frames.
2. Make it configurable so that the embedder which launches Emacs can
choose it. (This seems like a huge hammer for such a small nail as
we're talking about a non-functional issue which exists with only one of
the supported GUI toolkits.)
3. All of the above.
> But if we can get rid of the requirement that
> scroll bar width must equal a character width, this would not be an issue.
Is this a realistic expectation?
timo
next prev parent reply other threads:[~2007-07-20 8:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 14:25 XEmbed patches Timo Savola
2007-07-20 6:50 ` Jan Djärv
2007-07-21 4:52 ` Richard Stallman
2007-07-20 6:53 ` Jan Djärv
2007-07-20 8:24 ` Timo Savola [this message]
2007-07-20 8:40 ` Jason Rumney
2007-07-20 8:44 ` Timo Savola
2007-07-20 8:47 ` Jason Rumney
2007-07-20 8:59 ` Timo Savola
2007-07-20 9:02 ` David Kastrup
2007-07-20 10:33 ` Jan Djärv
2007-07-20 10:44 ` Jason Rumney
2007-07-20 12:28 ` Stephen J. Turnbull
2007-07-21 4:52 ` Richard Stallman
2007-07-20 9:24 ` Jan Djärv
2007-07-20 9:33 ` Timo Savola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070720082425.GD27107@movial.fi \
--to=timo.savola@iki.fi \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.