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
685fe55f
Commit
685fe55f
authored
Oct 16, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Oct 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Only execute hit test in MouseMove if necessary.
parent
c77d49b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
listview.c
dlls/comctl32/listview.c
+6
-6
No files found.
dlls/comctl32/listview.c
View file @
685fe55f
...
...
@@ -3620,12 +3620,6 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
if
(
y
>
infoPtr
->
rcList
.
bottom
)
y
=
infoPtr
->
rcList
.
bottom
;
tmp
.
x
=
x
;
tmp
.
y
=
y
;
lvHitTestInfo
.
pt
=
tmp
;
LISTVIEW_HitTest
(
infoPtr
,
&
lvHitTestInfo
,
TRUE
,
TRUE
);
if
(
infoPtr
->
bMarqueeSelect
)
{
LVITEMW
item
;
...
...
@@ -3708,6 +3702,12 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
rect
.
top
=
infoPtr
->
ptClickPos
.
y
-
wDragHeight
;
rect
.
bottom
=
infoPtr
->
ptClickPos
.
y
+
wDragHeight
;
tmp
.
x
=
x
;
tmp
.
y
=
y
;
lvHitTestInfo
.
pt
=
tmp
;
LISTVIEW_HitTest
(
infoPtr
,
&
lvHitTestInfo
,
TRUE
,
TRUE
);
/* reset item marker */
if
(
infoPtr
->
nLButtonDownItem
!=
lvHitTestInfo
.
iItem
)
infoPtr
->
nLButtonDownItem
=
-
1
;
...
...
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