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
b7987db3
Commit
b7987db3
authored
Feb 24, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Update the window cursor at most once every 100ms if nothing changed.
parent
94fb0f59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
mouse.c
dlls/winex11.drv/mouse.c
+6
-2
No files found.
dlls/winex11.drv/mouse.c
View file @
b7987db3
...
...
@@ -265,8 +265,12 @@ static HWND update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned
pt
->
x
=
data
->
client_rect
.
right
-
data
->
client_rect
.
left
-
1
-
pt
->
x
;
MapWindowPoints
(
hwnd
,
0
,
pt
,
1
);
cursor_window
=
hwnd
;
sync_window_cursor
(
data
);
if
(
InterlockedExchangePointer
(
(
void
**
)
&
cursor_window
,
hwnd
)
!=
hwnd
||
GetTickCount
()
-
last_time_modified
>
100
)
{
cursor_window
=
hwnd
;
sync_window_cursor
(
data
);
}
if
(
hwnd
!=
GetDesktopWindow
())
hwnd
=
GetAncestor
(
hwnd
,
GA_ROOT
);
/* update the wine server Z-order */
...
...
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