From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#1867: Resizing window causes text flickering when using antialiased font on X Date: Thu, 06 Oct 2011 01:33:36 -0400 Message-ID: References: <87ljtgzvgg.fsf@unicorn.lan> <4E8C00C8.9010208@swipnet.se> <8739f73xva.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317879246 22318 80.91.229.12 (6 Oct 2011 05:34:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 05:34:06 +0000 (UTC) Cc: lbsmtp@gmail.com, 1867@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 07:34:01 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1RBgan-0006qy-Hc for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 07:34:01 +0200 Original-Received: from localhost ([::1]:56035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBgam-0000mT-PJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 01:34:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBgaj-0000mL-Ac for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 01:33:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBgai-0001YQ-5C for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 01:33:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBgah-0001YM-W6 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 01:33:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBgao-0007fv-G5 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 01:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2011 05:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1867 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 1867-submit@debbugs.gnu.org id=B1867.131787922829482 (code B ref 1867); Thu, 06 Oct 2011 05:34:02 +0000 Original-Received: (at 1867) by debbugs.gnu.org; 6 Oct 2011 05:33:48 +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 1RBgaZ-0007fT-CH for submit@debbugs.gnu.org; Thu, 06 Oct 2011 01:33:47 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBgaW-0007fK-Vg for 1867@debbugs.gnu.org; Thu, 06 Oct 2011 01:33:45 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBgaO-0003Bj-Qq; Thu, 06 Oct 2011 01:33:36 -0400 In-reply-to: <8739f73xva.fsf@stupidchicken.com> (message from Chong Yidong on Wed, 05 Oct 2011 17:57:29 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Oct 2011 01:34:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52252 Archived-At: > From: Chong Yidong > Cc: "Jan D." , 1867@debbugs.gnu.org, lbsmtp@gmail.com > Date: Wed, 05 Oct 2011 17:57:29 -0400 > > Eli Zaretskii writes: > > > The way redisplay is written, _any_ change to dimensions of _any_ > > window sets a flag that will cause a thorough redisplay of all the > > windows on all the visible frames. However, I'd expect that redisplay > > of any window not affected by the resizing be limited to redrawing the > > cursor. > > Resizing a window redraws all windows on the same frame, even those > unaffected by the resizing. What do you mean by "redraws"? It generates the full desired glyph matrices for each window, but there's code in dispnew.c that compares the desired matrix with the current matrix, and only redraws the parts that changed. Are you saying that this optimization is disabled? Do you actually see the xterm backend redrawing each and every window in this use case?