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
ac4de71f
Commit
ac4de71f
authored
Jan 27, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Postpone resetting SCROLL_TrackingWin untill all notifications are sent.
parent
aef4a77d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
scroll.c
dlls/user/scroll.c
+9
-1
No files found.
dlls/user/scroll.c
View file @
ac4de71f
...
...
@@ -953,7 +953,7 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
{
if
(
SCROLL_MovingThumb
)
SCROLL_DrawMovingThumb
(
hdc
,
&
rect
,
vertical
,
arrowSize
,
thumbSize
);
SCROLL_TrackingWin
=
0
;
SCROLL_DrawInterior
(
hwnd
,
hdc
,
nBar
,
&
rect
,
arrowSize
,
thumbSize
,
thumbPos
,
infoPtr
->
flags
,
vertical
,
FALSE
,
FALSE
);
...
...
@@ -1049,8 +1049,12 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
SendMessageW
(
hwndOwner
,
vertical
?
WM_VSCROLL
:
WM_HSCROLL
,
MAKEWPARAM
(
SB_THUMBPOSITION
,
val
),
(
LPARAM
)
hwndCtl
);
}
/* SB_ENDSCROLL doesn't report thumb position */
SendMessageW
(
hwndOwner
,
vertical
?
WM_VSCROLL
:
WM_HSCROLL
,
SB_ENDSCROLL
,
(
LPARAM
)
hwndCtl
);
/* Terminate tracking */
SCROLL_TrackingWin
=
0
;
}
ReleaseDC
(
hwnd
,
hdc
);
...
...
@@ -1200,6 +1204,10 @@ static BOOL SCROLL_GetScrollInfo(HWND hwnd, INT nBar, LPSCROLLINFO info)
info
->
nMax
=
infoPtr
->
maxVal
;
}
TRACE
(
"cbSize %02x fMask %04x nMin %d nMax %d nPage %u nPos %d nTrackPos %d
\n
"
,
info
->
cbSize
,
info
->
fMask
,
info
->
nMin
,
info
->
nMax
,
info
->
nPage
,
info
->
nPos
,
info
->
nTrackPos
);
return
(
info
->
fMask
&
SIF_ALL
)
!=
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