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
a1580bba
Commit
a1580bba
authored
Feb 01, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Clip to the client area instead of the whole window in exclusive mode.
parent
f09e4ce2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mouse.c
dlls/dinput/mouse.c
+2
-1
No files found.
dlls/dinput/mouse.c
View file @
a1580bba
...
...
@@ -426,7 +426,8 @@ static void warp_check( SysMouseImpl* This, BOOL force )
This
->
last_warped
=
now
;
This
->
need_warp
=
FALSE
;
if
(
!
GetWindowRect
(
This
->
base
.
win
,
&
rect
))
return
;
if
(
!
GetClientRect
(
This
->
base
.
win
,
&
rect
))
return
;
MapWindowPoints
(
This
->
base
.
win
,
0
,
(
POINT
*
)
&
rect
,
2
);
if
(
!
This
->
clipped
)
{
mapped_center
.
x
=
(
rect
.
left
+
rect
.
right
)
/
2
;
...
...
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