From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5848: 23.1.95; bands of background after font change if --with-x-toolkit=no Date: Tue, 06 Apr 2010 19:57:49 +0200 Message-ID: <4BBB761D.6000706@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270578474 8982 80.91.229.12 (6 Apr 2010 18:27:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 18:27:54 +0000 (UTC) Cc: 5848@debbugs.gnu.org To: Ted Phelps Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 06 20:27:53 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1NzDV6-0008Mm-PP for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 20:27:49 +0200 Original-Received: from localhost ([127.0.0.1]:55856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzDV6-0002Ny-6L for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 14:27:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzDTT-0001oF-Is for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 14:26:07 -0400 Original-Received: from [140.186.70.92] (port=45694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzDTS-0001n1-4i for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 14:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzDTP-0001DM-QV for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 14:26:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38133) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzDTP-0001DI-OV for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 14:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzD2H-000420-OO; Tue, 06 Apr 2010 13:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2010 17:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5848-submit@debbugs.gnu.org id=B5848.127057667815490 (code B ref 5848); Tue, 06 Apr 2010 17:58:01 +0000 Original-Received: (at 5848) by debbugs.gnu.org; 6 Apr 2010 17:57:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzD2D-00041n-P4 for submit@debbugs.gnu.org; Tue, 06 Apr 2010 13:57:58 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzD2B-00041f-Se for 5848@debbugs.gnu.org; Tue, 06 Apr 2010 13:57:56 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 3AAA6EA174 for <5848@debbugs.gnu.org>; Tue, 6 Apr 2010 19:57:50 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhE3AI4Su0tV4S1uPGdsb2JhbACHZZNVDAEBAQE1LbsrgmoIghcE X-IronPort-AV: E=Sophos;i="4.51,373,1267398000"; d="scan'208";a="60128689" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 06 Apr 2010 19:57:49 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 40F9F7FA01A; Tue, 6 Apr 2010 19:57:49 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Apr 2010 13:58:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36002 Archived-At: Ted Phelps skrev 2010-04-06 16.25: > > The definitions of FRAME_TEXT_LINES_TO_PIXEL_HEIGHT and > FRAME_TEXT_COLS_TO_PIXEL_WIDTH already account for the frame's internal > border, so adding them in again seems superfluous. > It would be if the internal border width was added, but it isn't. There is border_width and internal_border_width. Internal border is what Emacs uses to indicate that a frame has focus. Border width is what is sent to the X server when creating the window. That border is on the outside of the window. Can you run in gdb and check the values for f->border_width and f->internal_border_width? Jan D.