From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id RnQFMO/sjV+qBAAAWB0awg (envelope-from ) for ; Mon, 19 Oct 2020 15:45:51 -0400 Received: by simark.ca (Postfix, from userid 112) id B9A471EFBD; Mon, 19 Oct 2020 15:45:51 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 1B0281EFB9 for ; Mon, 19 Oct 2020 15:45:51 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A67C0388EC39; Mon, 19 Oct 2020 19:45:50 +0000 (GMT) Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id 798663844019 for ; Mon, 19 Oct 2020 19:45:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 798663844019 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 5AA5C117ECC; Mon, 19 Oct 2020 15:45:48 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sSZpHm56BX8j; Mon, 19 Oct 2020 15:45:48 -0400 (EDT) Received: from murgatroyd (75-166-102-113.hlrn.qwest.net [75.166.102.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 0B01D117D7A; Mon, 19 Oct 2020 15:45:47 -0400 (EDT) From: Tom Tromey To: Tom Tromey Subject: Re: [PATCH] Don't erase TUI source window when switching focus References: <20201009202752.3858565-1-tromey@adacore.com> X-Attribution: Tom Date: Mon, 19 Oct 2020 13:45:47 -0600 In-Reply-To: <20201009202752.3858565-1-tromey@adacore.com> (Tom Tromey's message of "Fri, 9 Oct 2020 14:27:52 -0600") Message-ID: <87362am238.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" >>>>> "Tom" == Tom Tromey writes: Tom> PR tui/26719 points out that switching the focus can erase the TUI Tom> source window. This is a regression introduced by the patch to switch Tom> the source window to using a pad. Tom> This patch fixes the bug by arranging to call prefresh whenever the Tom> window is refreshed. I'm checking this in now. Tom