From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18537 invoked by alias); 28 Jul 2010 12:03:41 -0000 Received: (qmail 18450 invoked by uid 22791); 28 Jul 2010 12:03:40 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Jul 2010 12:03:31 +0000 Received: (qmail 12823 invoked from network); 28 Jul 2010 12:03:29 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Jul 2010 12:03:29 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [patch] Correct origin calculation of command line window in TUI mode Date: Wed, 28 Jul 2010 12:03:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.32-24-generic; KDE/4.4.2; x86_64; ; ) Cc: Balazs Kezes References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201007281303.27915.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00476.txt.bz2 Applied, thanks! -- Pedro Alves 2010-07-28 Balazs Kezes * tui/tui-win.c (tui_resize_all): Update the locator's origin's coordinates. --- gdb/tui/tui-win.c | 1 + 1 file changed, 1 insertion(+) Index: src/gdb/tui/tui-win.c =================================================================== --- src.orig/gdb/tui/tui-win.c 2010-07-27 15:30:34.000000000 +0100 +++ src/gdb/tui/tui-win.c 2010-07-27 15:34:34.000000000 +0100 @@ -712,6 +712,7 @@ tui_resize_all (void) else new_height = first_win->generic.height + split_diff; + locator->origin.y = new_height + 1; make_invisible_and_set_new_height (first_win, new_height); TUI_CMD_WIN->generic.origin.y = locator->origin.y + 1; TUI_CMD_WIN->generic.width += width_diff;