Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
05b0c8f7
Commit
05b0c8f7
authored
Feb 05, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDOMMouseEvent::initMouseEvent implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
17eb66c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
htmlevent.c
dlls/mshtml/htmlevent.c
+27
-2
No files found.
dlls/mshtml/htmlevent.c
View file @
05b0c8f7
...
...
@@ -1418,10 +1418,35 @@ static HRESULT WINAPI DOMMouseEvent_initMouseEvent(IDOMMouseEvent *iface, BSTR t
IEventTarget
*
related_target
)
{
DOMEvent
*
This
=
impl_from_IDOMMouseEvent
(
iface
);
FIXME
(
"(%p)->(%s %x %x %p %d %d %d %d %d %x %x %x %x %u %p)
\n
"
,
This
,
debugstr_w
(
type
),
nsAString
type_str
;
nsresult
nsres
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %x %x %p %d %d %d %d %d %x %x %x %x %u %p)
\n
"
,
This
,
debugstr_w
(
type
),
can_bubble
,
cancelable
,
view
,
detail
,
screen_x
,
screen_y
,
client_x
,
client_y
,
ctrl_key
,
alt_key
,
shift_key
,
meta_key
,
button
,
related_target
);
return
E_NOTIMPL
;
if
(
This
->
target
)
{
TRACE
(
"called on already dispatched event
\n
"
);
return
S_OK
;
}
hres
=
IDOMEvent_initEvent
(
&
This
->
IDOMEvent_iface
,
type
,
can_bubble
,
cancelable
);
if
(
FAILED
(
hres
))
return
hres
;
nsAString_InitDepend
(
&
type_str
,
type
);
nsres
=
nsIDOMMouseEvent_InitMouseEvent
(
This
->
mouse_event
,
&
type_str
,
can_bubble
,
cancelable
,
NULL
/* FIXME */
,
detail
,
screen_x
,
screen_y
,
client_x
,
client_y
,
ctrl_key
,
alt_key
,
shift_key
,
meta_key
,
button
,
NULL
/* FIXME */
);
nsAString_Finish
(
&
type_str
);
if
(
NS_FAILED
(
nsres
))
{
FIXME
(
"InitMouseEvent failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
return
S_OK
;
}
static
HRESULT
WINAPI
DOMMouseEvent_getModifierState
(
IDOMMouseEvent
*
iface
,
BSTR
key
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment