summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-07-03 11:20:00 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-07-03 11:20:00 +0000
commitaa8e6de67d65a11f3155534286f31fa0fea5c362 (patch)
tree402ae1bd2c12853fd084d43a773bc9fdeb7c52e0
parente3447be7a3f1d1b0722e264fa8dafc05807e3f36 (diff)
downloadnetsurf-aa8e6de67d65a11f3155534286f31fa0fea5c362.tar.gz
netsurf-aa8e6de67d65a11f3155534286f31fa0fea5c362.tar.bz2
Make AmiDock icon behave a little more sensibly when all windows are iconified.
svn path=/trunk/netsurf/; revision=12563
-rwxr-xr-xamiga/gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 640e044b6..58d415bd1 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1639,6 +1639,8 @@ void ami_handle_msg(void)
gwin->appicon = AddAppIcon(gwin->objects[OID_MAIN], NULL,
gwin->win->Title, appport, NULL,
gwin->dobj, NULL);
+
+ curbw = NULL;
}
break;
@@ -1732,6 +1734,7 @@ void ami_handle_appmsg(void)
{
ami_gui_appicon_remove(gwin);
ShowWindow(gwin->win, WINDOW_FRONTMOST);
+ ActivateWindow(gwin->win);
}
else if(appmsg->am_Type == AMTYPE_APPWINDOW)
{