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
860329d6
Commit
860329d6
authored
Apr 22, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Add missing X11 locking when setting the cursor.
parent
5e60175c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mouse.c
dlls/winex11.drv/mouse.c
+5
-2
No files found.
dlls/winex11.drv/mouse.c
View file @
860329d6
...
...
@@ -301,12 +301,15 @@ static void queue_raw_mouse_message( UINT message, HWND hwnd, DWORD x, DWORD y,
if
(
hwnd
)
{
Cursor
xcursor
;
struct
x11drv_win_data
*
data
=
X11DRV_get_win_data
(
hwnd
);
if
(
data
&&
cursor
!=
data
->
cursor
)
{
Cursor
xcursor
=
get_x11_cursor
(
cursor
);
if
(
xcursor
)
XDefineCursor
(
gdi_display
,
data
->
whole_window
,
xcursor
);
wine_tsx11_lock
();
if
((
xcursor
=
get_x11_cursor
(
cursor
)))
XDefineCursor
(
gdi_display
,
data
->
whole_window
,
xcursor
);
data
->
cursor
=
cursor
;
wine_tsx11_unlock
();
}
}
}
...
...
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