From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: xterm.c (x_clear_frame) - commented out call to XClearWindow Date: Mon, 21 Nov 2011 16:54:00 +0800 Message-ID: <87d3cldffb.fsf@gnu.org> References: <87k46uukcl.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321865658 3621 80.91.229.12 (21 Nov 2011 08:54:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2011 08:54:18 +0000 (UTC) Cc: Emacs development discussions To: Geoff Gole Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 21 09:54:14 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSPdl-0005uE-Td for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 09:54:14 +0100 Original-Received: from localhost ([::1]:60599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSPdl-0002H3-5X for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 03:54:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSPdi-0002Gi-D8 for emacs-devel@gnu.org; Mon, 21 Nov 2011 03:54:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSPdh-0000nv-Gn for emacs-devel@gnu.org; Mon, 21 Nov 2011 03:54:10 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSPdh-0000nr-E2 for emacs-devel@gnu.org; Mon, 21 Nov 2011 03:54:09 -0500 Original-Received: from [155.69.17.150] (port=54812 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RSPdg-0001Y5-HW; Mon, 21 Nov 2011 03:54:09 -0500 In-Reply-To: (Geoff Gole's message of "Mon, 21 Nov 2011 15:19:57 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146107 Archived-At: Geoff Gole writes: > Let me amend my reproduction recipe a bit. I usually run emacs under a > tiling window manager which fullscreens everything by default, making > it easy to see the stale pixels. Under a more normal window manager I > have to do something like > > emacs -Q > maximize the emacs > M-: (set-background-color "red") OK, I see the problem now; thanks. I guess your proposed fix is an OK band-aid. A more correct fix would be to make sure that the echo area is painted properly when drawing glyph strings, i.e. all the way to the bottom of the frame. But that may not be a straightforward change. The problem doesn't stop there, though: depending on the screen width, there's a similar unpainted space to the right of the GTK scroll bar, and another in the echo area where the scroll bar normally appears.