Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/889ee3108c8c2b1c6f6bf...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/889ee3108c8c2b1c6f6bf06...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/889ee3108c8c2b1c6f6bf06bb...
The branch, master has been updated
via 889ee3108c8c2b1c6f6bf06bb50d47cb177ad14a (commit)
from 9de4889a4f539e8bb9824bb5cbb2f7966461a4bf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=889ee3108c8c2b1c6f6...
commit 889ee3108c8c2b1c6f6bf06bb50d47cb177ad14a
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Stop the favicon getting obliterated when switching tabs
diff --git a/amiga/gui.c b/amiga/gui.c
index 1457c6d..608d6bf 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2877,8 +2877,6 @@ void ami_switch_tab(struct gui_window_2 *gwin, bool redraw)
if(redraw)
{
- gui_window_set_icon(gwin->gw, gwin->gw->favicon);
-
ami_rtg_rectfill(gwin->win->RPort, bbox->Left, bbox->Top,
bbox->Width+bbox->Left, bbox->Height+bbox->Top, 0xffffffff);
browser_window_update(gwin->gw->bw, false);
@@ -2891,6 +2889,8 @@ void ami_switch_tab(struct gui_window_2 *gwin, bool redraw)
ami_gui_update_hotlist_button(gwin);
ami_gui_scroller_update(gwin);
ami_throbber_redraw_schedule(0, gwin->gw);
+
+ gui_window_set_icon(gwin->gw, gwin->gw->favicon);
}
ami_gui_free_space_box(bbox);
@@ -3866,7 +3866,7 @@ gui_window_create(struct browser_window *bw,
GA_ID, GID_ICON,
SPACE_MinWidth, 16,
SPACE_MinHeight, 16,
- SPACE_Transparent, FALSE,
+ SPACE_Transparent, TRUE,
// SPACE_RenderHook, &g->shared->favicon_hook,
SpaceEnd,
CHILD_WeightedWidth, 0,
-----------------------------------------------------------------------
Summary of changes:
amiga/gui.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/amiga/gui.c b/amiga/gui.c
index 1457c6d..608d6bf 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2877,8 +2877,6 @@ void ami_switch_tab(struct gui_window_2 *gwin, bool redraw)
if(redraw)
{
- gui_window_set_icon(gwin->gw, gwin->gw->favicon);
-
ami_rtg_rectfill(gwin->win->RPort, bbox->Left, bbox->Top,
bbox->Width+bbox->Left, bbox->Height+bbox->Top, 0xffffffff);
browser_window_update(gwin->gw->bw, false);
@@ -2891,6 +2889,8 @@ void ami_switch_tab(struct gui_window_2 *gwin, bool redraw)
ami_gui_update_hotlist_button(gwin);
ami_gui_scroller_update(gwin);
ami_throbber_redraw_schedule(0, gwin->gw);
+
+ gui_window_set_icon(gwin->gw, gwin->gw->favicon);
}
ami_gui_free_space_box(bbox);
@@ -3866,7 +3866,7 @@ gui_window_create(struct browser_window *bw,
GA_ID, GID_ICON,
SPACE_MinWidth, 16,
SPACE_MinHeight, 16,
- SPACE_Transparent, FALSE,
+ SPACE_Transparent, TRUE,
// SPACE_RenderHook, &g->shared->favicon_hook,
SpaceEnd,
CHILD_WeightedWidth, 0,
--
NetSurf Browser