diff options
author | jcid <devnull@localhost> | 2007-10-24 22:24:01 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2007-10-24 22:24:01 +0200 |
commit | 9c82e3b54e82bd6cd9a3541c289eaf9c5393ed63 (patch) | |
tree | f000ec305afb5a5a90f00be36e8eee94b889f7a6 /src/bw.h | |
parent | 6490b8207de848c39894ca635497a7cd941d68d4 (diff) |
Implemented a new scheme of scroll-position remembering. This is one per
visited page intead of one per url (this is more standard).
Diffstat (limited to 'src/bw.h')
-rw-r--r-- | src/bw.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -39,14 +39,12 @@ struct _BrowserWindow Dlist *PageUrls; /* The navigation stack (holds indexes to history list) */ - int *nav_stack; - int nav_stack_size; /* [1 based] */ - int nav_stack_size_max; + Dlist *nav_stack; /* 'nav_stack_ptr' refers to what's being displayed */ - int nav_stack_ptr; /* [0 based] */ + int nav_stack_ptr; /* [0 based; -1 = empty] */ /* When the user clicks a link, the URL isn't pushed directly to history; * nav_expect_url holds it until the first answer-bytes are got. Only then - * it is sent to history and referenced in 'nav_stack[++nav_stack_ptr]' */ + * it is sent to history and referenced at the top of nav_stack */ DilloUrl *nav_expect_url; /* 'nav_expecting' is true if the last URL is being loaded for * the first time and has not gotten the dw yet. */ |