Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Balazs Kezes <rlblaster@gmail.com>
Subject: Re: [patch] Correct origin calculation of command line window in TUI mode
Date: Wed, 28 Jul 2010 12:03:00 -0000	[thread overview]
Message-ID: <201007281303.27915.pedro@codesourcery.com> (raw)
In-Reply-To: <AANLkTinPbUoACc9Pd481aBX-Zif6wMsdNhreobbXPk2c@mail.gmail.com>

Applied, thanks!

-- 
Pedro Alves

2010-07-28  Balazs Kezes  <rlblaster@gmail.com>

	* 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;


      parent reply	other threads:[~2010-07-28 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 21:02 Balazs Kezes
2010-07-27 14:43 ` Pedro Alves
2010-07-27 22:38   ` Balazs Kezes
2010-07-27 22:46     ` Pedro Alves
2010-07-28  7:24       ` Balazs Kezes
2010-07-28  9:59         ` Pedro Alves
2010-07-28 11:50       ` Pedro Alves
2010-07-28 12:03 ` Pedro Alves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007281303.27915.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=rlblaster@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox