Jacek Caban : mshtml: Added support for middle-button opening anchors in a new window.

Alexandre Julliard julliard at winehq.org
Fri Jan 27 11:30:41 CST 2012


Module: wine
Branch: master
Commit: 61fd6c97badea7ff92dc77bd903aa7bb3e338307
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=61fd6c97badea7ff92dc77bd903aa7bb3e338307

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jan 27 15:56:13 2012 +0100

mshtml: Added support for middle-button opening anchors in a new window.

---

 dlls/mshtml/htmlanchor.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c
index 9e9f369..27d39e3 100644
--- a/dlls/mshtml/htmlanchor.c
+++ b/dlls/mshtml/htmlanchor.c
@@ -642,6 +642,9 @@ static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t eid,
         case 0:
             *prevent_default = TRUE;
             return navigate_anchor(This);
+        case 1:
+            *prevent_default = TRUE;
+            return navigate_anchor_window(This, NULL);
         default:
             *prevent_default = FALSE;
             return S_OK;




More information about the wine-cvs mailing list