From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: Redisplay problems? Date: Sat, 22 Mar 2014 14:43:21 -0400 Message-ID: References: <87ppljg4ti.fsf@kanru-mozilla.corp.tpe1.mozilla.com> <5329C53B.3030008@gmx.at> <532ABA60.7000003@gmx.at> <83siqc7n87.fsf@gnu.org> <83a9ck6lzf.fsf@gnu.org> <83eh1v5y53.fsf@gnu.org> <83y5024r1w.fsf@gnu.org> <83ior6489a.fsf@gnu.org> <834n2q43os.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395513834 28629 80.91.229.3 (22 Mar 2014 18:43:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2014 18:43:54 +0000 (UTC) Cc: rudalics@gmx.at, christian@defun.dk, cloos@jhcloos.com, kanru@kanru.info, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 22 19:44:02 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WRQtk-0003xy-C8 for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2014 19:44:00 +0100 Original-Received: from localhost ([::1]:57867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRQtj-0005gV-Ui for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2014 14:43:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRQtZ-0005fY-FG for emacs-devel@gnu.org; Sat, 22 Mar 2014 14:43:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRQtR-0001hG-IH for emacs-devel@gnu.org; Sat, 22 Mar 2014 14:43:49 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:36194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRQtR-0001h6-Dm; Sat, 22 Mar 2014 14:43:41 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s2MIhMTH016355; Sat, 22 Mar 2014 14:43:23 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 751CC600C6; Sat, 22 Mar 2014 14:43:21 -0400 (EDT) In-Reply-To: <834n2q43os.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 Mar 2014 18:07:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4889=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4889> : inlines <634> : streams <1142965> : uri <1706923> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:170809 Archived-At: > When frames that were iconified get the expose event, and the frame's > garbaged flag is not set, we will redraw them using outdated matrices, > because expose_frame uses the current glyph matrices without > recomputing them. If the current matrices are outdated, then indeed we may expose the outdated content. But of course, the next redisplay will fix it, so it's not terrible. If the garbaged flag is set, the behavior is not much better: instead of exposing outdated content we don't expose anything (i.e. it stays blank), and again the next redisplay should fix. This said, I think that the more common case of deiconifying/deobscuring is that the matrices are still up-to-date because nothing has changed in the mean time. In that case we're better off not setting the "garbaged" flag, so we immediately get the right content exposed rather then first exposing blank. Stefan