Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1592b9c9
Commit
1592b9c9
authored
Jan 30, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Disallow clipping to fullscreen rectangle if XInput2 is not available.
parent
b0657c86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mouse.c
dlls/winex11.drv/mouse.c
+5
-0
No files found.
dlls/winex11.drv/mouse.c
View file @
1592b9c9
...
...
@@ -388,6 +388,11 @@ static BOOL grab_clipping_window( const RECT *clip, BOOL only_with_xinput )
/* don't clip to 1x1 rectangle if we don't have XInput */
if
(
clip
->
right
-
clip
->
left
==
1
&&
clip
->
bottom
-
clip
->
top
==
1
)
only_with_xinput
=
TRUE
;
/* don't clip to fullscreen rectangle either (with 1-pixel offset to catch the dinput case) */
if
(
clip
->
left
<=
virtual_screen_rect
.
left
+
1
||
clip
->
right
>=
virtual_screen_rect
.
right
-
1
||
clip
->
top
<=
virtual_screen_rect
.
top
+
1
||
clip
->
bottom
>=
virtual_screen_rect
.
bottom
-
1
)
only_with_xinput
=
TRUE
;
if
(
only_with_xinput
&&
data
->
xi2_state
!=
xi_enabled
)
{
WARN
(
"XInput2 not supported, refusing to clip to %s
\n
"
,
wine_dbgstr_rect
(
clip
)
);
...
...
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