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
89a7c05a
Commit
89a7c05a
authored
Jun 08, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Add a clipping_reset member to user_thread_info.
parent
f47ed292
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
input.c
dlls/win32u/input.c
+6
-1
ntuser_private.h
dlls/win32u/ntuser_private.h
+1
-0
No files found.
dlls/win32u/input.c
View file @
89a7c05a
...
...
@@ -2499,11 +2499,16 @@ BOOL get_clip_cursor( RECT *rect )
BOOL
process_wine_clipcursor
(
BOOL
empty
,
BOOL
reset
)
{
struct
user_thread_info
*
thread_info
=
get_user_thread_info
();
RECT
rect
;
TRACE
(
"empty %u, reset %u
\n
"
,
empty
,
reset
);
if
(
reset
)
return
user_driver
->
pClipCursor
(
NULL
,
TRUE
);
if
(
reset
)
{
thread_info
->
clipping_reset
=
NtGetTickCount
();
return
user_driver
->
pClipCursor
(
NULL
,
TRUE
);
}
if
(
!
grab_pointer
)
return
TRUE
;
if
(
empty
)
return
user_driver
->
pClipCursor
(
NULL
,
reset
);
...
...
dlls/win32u/ntuser_private.h
View file @
89a7c05a
...
...
@@ -130,6 +130,7 @@ struct user_thread_info
UINT
kbd_layout_id
;
/* Current keyboard layout ID */
struct
rawinput_thread_data
*
rawinput
;
/* RawInput thread local data / buffer */
UINT
spy_indent
;
/* Current spy indent */
DWORD
clipping_reset
;
/* time when clipping was last reset */
};
C_ASSERT
(
sizeof
(
struct
user_thread_info
)
<=
sizeof
(((
TEB
*
)
0
)
->
Win32ClientInfo
)
);
...
...
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