summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9e2511)
raw | patch | inline | side by side (parent: c9e2511)
author | Max Kellermann <max@duempel.org> | |
Fri, 10 Apr 2009 07:14:49 +0000 (09:14 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 10 Apr 2009 07:14:49 +0000 (09:14 +0200) |
src/list_window.c | patch | blob | history | |
src/list_window.h | patch | blob | history |
diff --git a/src/list_window.c b/src/list_window.c
index e02d92babc0a64b61804497c97a35fcb4e351622..e14d6cfad4acb26c9ecdb869586c3f9f8c410442 100644 (file)
--- a/src/list_window.c
+++ b/src/list_window.c
lw->selected_end = 0;
lw->range_selection = false;
lw->range_base = 0;
- lw->xoffset = 0;
lw->start = 0;
}
static void
list_window_first(struct list_window *lw)
{
- lw->xoffset = 0;
list_window_set_selected(lw, 0);
}
static void
list_window_last(struct list_window *lw, unsigned length)
{
- lw->xoffset = 0;
if (length > 0)
list_window_set_selected(lw, length - 1);
else
diff --git a/src/list_window.h b/src/list_window.h
index 0d1c0de31175d25eebb10f8ae9b8d3a2631f20c0..20ebfc869323f9f9a33ae9b34f04f811eb7b48cb 100644 (file)
--- a/src/list_window.h
+++ b/src/list_window.h
unsigned selected_end; /* for range selection, last selected item */
unsigned range_base; /* represents the base item. */
bool range_selection; /* range selection activated */
- unsigned xoffset;
bool hide_cursor;
} list_window_t;