summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-07-26 14:08:48 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-07-27 11:24:31 -0300
commit8d8c369f3d697e31e04133ca18b516952549ee33 (patch)
tree7c00386b356a8a10009d2d66cca648853c24b42a /tools
parent63160f73e7baa6618f19d7681bcab5be5c557205 (diff)
downloadop-kernel-dev-8d8c369f3d697e31e04133ca18b516952549ee33.zip
op-kernel-dev-8d8c369f3d697e31e04133ca18b516952549ee33.tar.gz
perf ui: Show the scroll bar over the left window frame
So that we gain two columns and look more like classical (at least in TUIs) scroll bars bars. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/newt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c
index aed2149..cdd958e 100644
--- a/tools/perf/util/newt.c
+++ b/tools/perf/util/newt.c
@@ -347,12 +347,12 @@ static int ui_browser__show(struct ui_browser *self, const char *title)
newtPopWindow();
}
ui_browser__refresh_dimensions(self);
- newtCenteredWindow(self->width + 2, self->height, title);
+ newtCenteredWindow(self->width, self->height, title);
self->form = newt_form__new();
if (self->form == NULL)
return -1;
- self->sb = newtVerticalScrollbar(self->width + 1, 0, self->height,
+ self->sb = newtVerticalScrollbar(self->width, 0, self->height,
HE_COLORSET_NORMAL,
HE_COLORSET_SELECTED);
if (self->sb == NULL)
OpenPOWER on IntegriCloud