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
9ac774b8
Commit
9ac774b8
authored
Sep 21, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Add window data structure locking to the window region functions.
parent
ffa7af17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
window.c
dlls/winex11.drv/window.c
+7
-2
No files found.
dlls/winex11.drv/window.c
View file @
9ac774b8
...
...
@@ -2269,9 +2269,10 @@ int CDECL X11DRV_SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL redraw )
{
struct
x11drv_win_data
*
data
;
if
((
data
=
X11DRV_
get_win_data
(
hwnd
)))
if
((
data
=
get_win_data
(
hwnd
)))
{
sync_window_region
(
thread_display
(),
data
,
hrgn
);
release_win_data
(
data
);
}
else
if
(
X11DRV_get_whole_window
(
hwnd
))
{
...
...
@@ -2324,7 +2325,11 @@ LRESULT CDECL X11DRV_WindowMessage( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp )
case
WM_X11DRV_SET_WIN_FORMAT
:
return
set_win_format
(
hwnd
,
(
XID
)
wp
);
case
WM_X11DRV_SET_WIN_REGION
:
if
((
data
=
X11DRV_get_win_data
(
hwnd
)))
sync_window_region
(
thread_display
(),
data
,
(
HRGN
)
1
);
if
((
data
=
get_win_data
(
hwnd
)))
{
sync_window_region
(
thread_display
(),
data
,
(
HRGN
)
1
);
release_win_data
(
data
);
}
return
0
;
case
WM_X11DRV_RESIZE_DESKTOP
:
X11DRV_resize_desktop
(
LOWORD
(
lp
),
HIWORD
(
lp
)
);
...
...
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