Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
9c44ed8a
Commit
9c44ed8a
authored
May 02, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/ole2: After IDropTarget::DragEnter() failure target doesn't count as valid.
parent
071d16d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
ole2.c
dlls/ole32/ole2.c
+14
-6
No files found.
dlls/ole32/ole2.c
View file @
9c44ed8a
...
...
@@ -2081,13 +2081,21 @@ static void OLEDD_TrackMouseMove(TrackerWindowInfo* trackerInfo)
/*
* If there is, notify it that we just dragged-in
*/
if
(
trackerInfo
->
curDragTarget
!=
0
)
if
(
trackerInfo
->
curDragTarget
)
{
IDropTarget_DragEnter
(
trackerInfo
->
curDragTarget
,
trackerInfo
->
dataObject
,
trackerInfo
->
dwKeyState
,
trackerInfo
->
curMousePos
,
trackerInfo
->
pdwEffect
);
hr
=
IDropTarget_DragEnter
(
trackerInfo
->
curDragTarget
,
trackerInfo
->
dataObject
,
trackerInfo
->
dwKeyState
,
trackerInfo
->
curMousePos
,
trackerInfo
->
pdwEffect
);
/* failed DragEnter() means invalid target */
if
(
hr
!=
S_OK
)
{
trackerInfo
->
curDragTargetHWND
=
0
;
trackerInfo
->
curTargetHWND
=
0
;
trackerInfo
->
curDragTarget
=
0
;
}
}
}
else
...
...
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