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
cd5b064a
Commit
cd5b064a
authored
Mar 18, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Mar 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Don't set the cursor during mouse messages.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
06fb9c7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
editor.c
dlls/riched20/editor.c
+0
-5
No files found.
dlls/riched20/editor.c
View file @
cd5b064a
...
...
@@ -3954,7 +3954,6 @@ LRESULT editor_handle_message( ME_TextEditor *editor, UINT msg, WPARAM wParam,
ITextHost_TxSetCapture
(
editor
->
texthost
,
TRUE
);
editor
->
bMouseCaptured
=
TRUE
;
ME_LinkNotify
(
editor
,
msg
,
wParam
,
lParam
);
if
(
!
ME_SetCursor
(
editor
))
goto
do_default
;
break
;
}
case
WM_MOUSEMOVE
:
...
...
@@ -3962,9 +3961,6 @@ LRESULT editor_handle_message( ME_TextEditor *editor, UINT msg, WPARAM wParam,
ME_MouseMove
(
editor
,
(
short
)
LOWORD
(
lParam
),
(
short
)
HIWORD
(
lParam
));
else
ME_LinkNotify
(
editor
,
msg
,
wParam
,
lParam
);
/* Set cursor if mouse is captured, since WM_SETCURSOR won't be received. */
if
(
editor
->
bMouseCaptured
)
ME_SetCursor
(
editor
);
break
;
case
WM_LBUTTONUP
:
if
(
editor
->
bMouseCaptured
)
{
...
...
@@ -3975,7 +3971,6 @@ LRESULT editor_handle_message( ME_TextEditor *editor, UINT msg, WPARAM wParam,
editor
->
nSelectionType
=
stPosition
;
else
{
ME_SetCursor
(
editor
);
ME_LinkNotify
(
editor
,
msg
,
wParam
,
lParam
);
}
break
;
...
...
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