From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Extending fringe backgrounds to scroll bar gaps Date: Tue, 06 Mar 2007 16:02:28 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <45ED0CAD.3080306@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173164573 2573 80.91.229.12 (6 Mar 2007 07:02:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 07:02:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?ISO-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 08:02:44 2007 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.50) id 1HOTh5-0003jv-CO for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 08:02:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOTh6-0004YH-88 for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 02:02:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOTgv-0004YC-7h for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:02:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOTgs-0004Y0-QG for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:02:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOTgs-0004Xx-M4 for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:02:30 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HOTgs-000301-2W for emacs-devel@gnu.org; Tue, 06 Mar 2007 02:02:30 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 16B1D2CF3; Tue, 6 Mar 2007 16:02:28 +0900 (JST) In-Reply-To: <45ED0CAD.3080306@swipnet.se> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.95 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: NetBSD 3.0 (DF) 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:67408 Archived-At: >>>>> On Tue, 06 Mar 2007 07:39:41 +0100, Jan Dj=E4rv = said: > Did you try this with Gtk+? Yes, I tried it with GTK+ 2.8.18 as well as Xaw3d and Motif. They all worked equally as far as I tested. > I think the background in that case is drawn by Gtk+ itself, so > anything xterm.c does gets overwritten. Or depending on the timing > of expose events, sometimes Gtk+ gets to draw the background, > sometimes it is done from xterm.c. The arguments passed to x_scroll_bar_create or xg_update_scrollbar_pos don't include the gap. So I think the area that is drawn by GTK+ does not overlap with that is drawn by (patched) x_draw_fringe_bitmap. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp