aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/ui.cc8
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index ee20d459..8d7d7e8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,7 +12,9 @@ dillo-3.0.3 [not released yet]
+- Support for CSS display property
Patch: Johannes Hofmann
+- Fix image input coordinates (BUG#1070)
- Patch: corvid
+ - When location bar is given focus, temporarily show panels if hidden
+ (BUG#1093).
+ Patches: corvid
-----------------------------------------------------------------------------
diff --git a/src/ui.cc b/src/ui.cc
index afa88073..ce7a2a8a 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -739,10 +739,6 @@ int UI::handle(int event)
a_UIcmd_search_dialog(a_UIcmd_get_bw_by_widget(this));
ret = 1;
} else if (cmd == KEYS_GOTO) {
- if (Panelmode == UI_HIDDEN) {
- panels_toggle();
- temporaryPanels(true);
- }
focus_location();
ret = 1;
} else if (cmd == KEYS_HIDE_PANELS) {
@@ -819,6 +815,10 @@ void UI::set_location(const char *str)
*/
void UI::focus_location()
{
+ if (Panelmode == UI_HIDDEN) {
+ panels_toggle();
+ temporaryPanels(true);
+ }
Location->take_focus();
// Make text selected when already focused.
Location->position(Location->size(), 0);