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
bc15e1bc
Commit
bc15e1bc
authored
Mar 28, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11drv: Only warp the mouse pointer if it has actually moved.
parent
1e421c7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mouse.c
dlls/x11drv/mouse.c
+2
-1
No files found.
dlls/x11drv/mouse.c
View file @
bc15e1bc
...
...
@@ -289,7 +289,8 @@ void X11DRV_send_mouse_input( HWND hwnd, DWORD flags, DWORD x, DWORD y,
{
queue_raw_mouse_message
(
WM_MOUSEMOVE
,
hwnd
,
pt
.
x
,
pt
.
y
,
data
,
time
,
extra_info
,
injected_flags
);
if
(
injected_flags
&
LLMHF_INJECTED
)
/* we have to actually move the cursor */
if
((
injected_flags
&
LLMHF_INJECTED
)
&&
((
flags
&
MOUSEEVENTF_ABSOLUTE
)
||
x
||
y
))
/* we have to actually move the cursor */
{
TRACE
(
"warping to (%ld,%ld)
\n
"
,
pt
.
x
,
pt
.
y
);
wine_tsx11_lock
();
...
...
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