From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Redisplay problems? Date: Thu, 20 Mar 2014 20:19:10 +0200 Message-ID: <83pplg7mxt.fsf@gnu.org> References: <87ppljg4ti.fsf@kanru-mozilla.corp.tpe1.mozilla.com> <5329C53B.3030008@gmx.at> <532ABA60.7000003@gmx.at> <831txw944g.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1395339540 15510 80.91.229.3 (20 Mar 2014 18:19:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2014 18:19:00 +0000 (UTC) Cc: rudalics@gmx.at, christian@defun.dk, kanru@kanru.info, cloos@jhcloos.com, emacs-devel@gnu.org To: Stefan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 20 19:19:08 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 1WQhYa-0000zf-Gs for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2014 19:19:08 +0100 Original-Received: from localhost ([::1]:48669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQhYa-0004hH-2a for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2014 14:19:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQhYT-0004gD-SL for emacs-devel@gnu.org; Thu, 20 Mar 2014 14:19:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQhYP-000728-QR for emacs-devel@gnu.org; Thu, 20 Mar 2014 14:19:01 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:61667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQhYP-000722-IL for emacs-devel@gnu.org; Thu, 20 Mar 2014 14:18:57 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N2Q00C00YD7L300@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Thu, 20 Mar 2014 20:18:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2Q00CSXYVJC570@a-mtaout20.012.net.il>; Thu, 20 Mar 2014 20:18:56 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:170647 Archived-At: > From: Stefan > Cc: rudalics@gmx.at, christian@defun.dk, cloos@jhcloos.com, kanru@kanru.info, emacs-devel@gnu.org > Date: Thu, 20 Mar 2014 14:00:47 -0400 > > >> > And of course, the frame's "garbaged" bit may not always be needed: if > >> > the frame was simply iconified+deiconified without any other change, > >> > there's no need to recompute matrices nor redraw anything, since it's > >> > pretty much the same as obscuring the frame with another and then > >> > exposing it again. > >> I suggest the patch below for w32term.c. Guaranteed 100% untested, of > >> course, > > Thanks. What bug does this fix? > > Nothing, IIUC. It just "tightens" the code to try and clarify when > "garbaged" needs to be set. Please tell if you still think it is needed, after you read my explanations about "redisplay", "redraw", "garbaged", and "expose".