Module: wine
Branch: master
Commit: addc9957afa5091d0a563c8d7ffea379bfdac7b5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=addc9957afa5091d0a563c8d7…
Author: Rob Shearman <rob(a)codeweavers.com>
Date: Tue Jul 24 17:07:10 2007 -0500
mshtml: Events are reset when a new document URI is loaded, so re-initialise them in start_binding.
---
dlls/mshtml/navigate.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index 3e05fdc..76fd5f2 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -815,6 +815,11 @@ HRESULT start_binding(BSCallback *bscallback)
IMoniker_Release(bscallback->mon);
bscallback->mon = NULL;
+
+ /* events are reset when a new document URI is loaded, so re-initialise them here */
+ if(bscallback->doc && bscallback->doc->nscontainer)
+ init_nsevents(bscallback->doc->nscontainer);
+
return S_OK;
}
Module: wine
Branch: master
Commit: 92b3cab7916445d79d2559e4b580f99e3b0de479
URL: http://source.winehq.org/git/wine.git/?a=commit;h=92b3cab7916445d79d2559e4b…
Author: Rob Shearman <rob(a)codeweavers.com>
Date: Tue Jul 24 17:06:42 2007 -0500
mshtml: OleDocumentView_UIActivate should call IOleInPlaceUIWindow_SetActiveObject and IOleInPlaceFrame_SetBorderSpace.
Add a test to show this behaviour.
Don't call nsIWebBrowserFocus_Activate when just activating the window.
Instead call it when UI-activating the window.
---
dlls/mshtml/mshtml_private.h | 1 +
dlls/mshtml/tests/htmldoc.c | 99 ++++++++++++++++++++++++++++++++++++------
dlls/mshtml/view.c | 39 ++++++++++++-----
3 files changed, 114 insertions(+), 25 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=92b3cab7916445d79d255…