eocene
2014-09-06 19:40:19 UTC
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);
}
/*
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);
}
/*