From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Extending fringe backgrounds to scroll bar gaps Date: Tue, 06 Mar 2007 09:10:18 +0100 Message-ID: <45ED21EA.6010407@swipnet.se> References: <45ED0CAD.3080306@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173168687 17883 80.91.229.12 (6 Mar 2007 08:11:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 08:11:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 09:11:16 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 1HOUlO-00088d-Ok for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 09:11:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOUlP-0007tz-Gx for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 03:11:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOUlD-0007tk-4f for emacs-devel@gnu.org; Tue, 06 Mar 2007 03:11:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOUlB-0007tY-Fe for emacs-devel@gnu.org; Tue, 06 Mar 2007 03:11:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOUlB-0007tV-Bb for emacs-devel@gnu.org; Tue, 06 Mar 2007 03:11:01 -0500 Original-Received: from av9-1-sn2.hy.skanova.net ([81.228.8.179]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HOUlA-0003GN-RN for emacs-devel@gnu.org; Tue, 06 Mar 2007 03:11:01 -0500 Original-Received: by av9-1-sn2.hy.skanova.net (Postfix, from userid 502) id 417FB3805E; Tue, 6 Mar 2007 09:10:59 +0100 (CET) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-1-sn2.hy.skanova.net (Postfix) with ESMTP id EE9623807B; Tue, 6 Mar 2007 09:10:58 +0100 (CET) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id A478037E42; Tue, 6 Mar 2007 09:10:57 +0100 (CET) User-Agent: Thunderbird 1.5.0.9 (X11/20070103) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 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:67412 Archived-At: YAMAMOTO Mitsuharu skrev: >>>>>> On Tue, 06 Mar 2007 07:39:41 +0100, Jan Dj=E4rv said: >=20 >> Did you try this with Gtk+? >=20 > Yes, I tried it with GTK+ 2.8.18 as well as Xaw3d and Motif. They all > worked equally as far as I tested. >=20 >> 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. >=20 > 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. >=20 Ok, that is good. Jan D.