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
f3ab3d97
Commit
f3ab3d97
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: If no effect action selected use ::DragLeave() instead of ::Drop().
parent
9c44ed8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
ole2.c
dlls/ole32/ole2.c
+11
-9
No files found.
dlls/ole32/ole2.c
View file @
f3ab3d97
...
...
@@ -2196,7 +2196,7 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
* If we end-up over a target, drop the object in the target or
* inform the target that the operation was cancelled.
*/
if
(
trackerInfo
->
curDragTarget
!=
0
)
if
(
trackerInfo
->
curDragTarget
)
{
switch
(
trackerInfo
->
returnValue
)
{
...
...
@@ -2205,14 +2205,16 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
* the drop target that we just dropped the object in it.
*/
case
DRAGDROP_S_DROP
:
{
IDropTarget_Drop
(
trackerInfo
->
curDragTarget
,
trackerInfo
->
dataObject
,
trackerInfo
->
dwKeyState
,
trackerInfo
->
curMousePos
,
trackerInfo
->
pdwEffect
);
break
;
}
if
(
*
trackerInfo
->
pdwEffect
!=
DROPEFFECT_NONE
)
IDropTarget_Drop
(
trackerInfo
->
curDragTarget
,
trackerInfo
->
dataObject
,
trackerInfo
->
dwKeyState
,
trackerInfo
->
curMousePos
,
trackerInfo
->
pdwEffect
);
else
IDropTarget_DragLeave
(
trackerInfo
->
curDragTarget
);
break
;
/*
* If the source told us that we should cancel, fool the drop
* target by telling it that the mouse left it's window.
...
...
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