url display in location bar

eocene <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
I often wish that dillo would show the beginning of the URL instead
of the end. ("Where am I in this tab?")

diff -r b28e4a47d4a1 src/ui.cc
--- a/src/ui.cc Sat Sep 06 16:56:22 2014 +0000
+++ b/src/ui.cc Sat Sep 06 19:33:36 2014 +0000
@@ -816,7 +816,7 @@
 {
    if (!str) str = "";
    Location->value(str);
-   Location->position(strlen(str));
+   Location->position((Fl::focus() == Location) ? strlen(str) : 0);
 }
 
 /*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.