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
bf8e8f56
Commit
bf8e8f56
authored
Feb 23, 2016
by
Huw Davies
Committed by
Alexandre Julliard
Feb 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Remove curDragTargetHWND since it's never used.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5ccf039f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
ole2.c
dlls/ole32/ole2.c
+0
-5
No files found.
dlls/ole32/ole2.c
View file @
bf8e8f56
...
...
@@ -68,7 +68,6 @@ typedef struct tagTrackerWindowInfo
BOOL
escPressed
;
HWND
curTargetHWND
;
/* window the mouse is hovering over */
HWND
curDragTargetHWND
;
/* might be an ancestor of curTargetHWND */
IDropTarget
*
curDragTarget
;
POINTL
curMousePos
;
/* current position of the mouse in screen coordinates */
DWORD
dwKeyState
;
/* current state of the shift and ctrl keys and the mouse buttons */
...
...
@@ -770,7 +769,6 @@ HRESULT WINAPI DoDragDrop (
trackerInfo
.
pdwEffect
=
pdwEffect
;
trackerInfo
.
trackingDone
=
FALSE
;
trackerInfo
.
escPressed
=
FALSE
;
trackerInfo
.
curDragTargetHWND
=
0
;
trackerInfo
.
curTargetHWND
=
0
;
trackerInfo
.
curDragTarget
=
0
;
...
...
@@ -2255,7 +2253,6 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
if
(
next_target_wnd
)
hwndNewTarget
=
next_target_wnd
;
trackerInfo
->
curDragTargetHWND
=
hwndNewTarget
;
if
(
trackerInfo
->
curDragTarget
)
IDropTarget_Release
(
trackerInfo
->
curDragTarget
);
trackerInfo
->
curDragTarget
=
get_droptarget_pointer
(
hwndNewTarget
);
...
...
@@ -2274,7 +2271,6 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
/* failed DragEnter() means invalid target */
if
(
hr
!=
S_OK
)
{
trackerInfo
->
curDragTargetHWND
=
0
;
trackerInfo
->
curTargetHWND
=
0
;
IDropTarget_Release
(
trackerInfo
->
curDragTarget
);
trackerInfo
->
curDragTarget
=
0
;
...
...
@@ -2286,7 +2282,6 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
/*
* The mouse is not over a window so we don't track anything.
*/
trackerInfo
->
curDragTargetHWND
=
0
;
trackerInfo
->
curTargetHWND
=
0
;
if
(
trackerInfo
->
curDragTarget
)
IDropTarget_Release
(
trackerInfo
->
curDragTarget
);
trackerInfo
->
curDragTarget
=
0
;
...
...
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