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
39278596
Commit
39278596
authored
Nov 28, 2011
by
Ulrich Czekalla
Committed by
Alexandre Julliard
Nov 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Avoid grabbing user_section while holding X11DRV_CritSection.
parent
bb6f22d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
window.c
dlls/winex11.drv/window.c
+5
-1
No files found.
dlls/winex11.drv/window.c
View file @
39278596
...
...
@@ -1513,6 +1513,7 @@ static void sync_window_position( Display *display, struct x11drv_win_data *data
data
->
configure_serial
=
NextRequest
(
display
);
XReconfigureWMWindow
(
display
,
data
->
whole_window
,
DefaultScreen
(
display
),
mask
,
&
changes
);
wine_tsx11_unlock
();
#ifdef HAVE_LIBXSHAPE
if
(
IsRectEmpty
(
old_window_rect
)
!=
IsRectEmpty
(
&
data
->
window_rect
))
sync_window_region
(
display
,
data
,
(
HRGN
)
1
);
...
...
@@ -1523,11 +1524,14 @@ static void sync_window_position( Display *display, struct x11drv_win_data *data
int
new_x_offset
=
data
->
window_rect
.
left
-
data
->
whole_rect
.
left
;
int
new_y_offset
=
data
->
window_rect
.
top
-
data
->
whole_rect
.
top
;
if
(
old_x_offset
!=
new_x_offset
||
old_y_offset
!=
new_y_offset
)
{
wine_tsx11_lock
();
XShapeOffsetShape
(
display
,
data
->
whole_window
,
ShapeBounding
,
new_x_offset
-
old_x_offset
,
new_y_offset
-
old_y_offset
);
wine_tsx11_unlock
();
}
}
#endif
wine_tsx11_unlock
();
TRACE
(
"win %p/%lx pos %d,%d,%dx%d after %lx changes=%x serial=%lu
\n
"
,
data
->
hwnd
,
data
->
whole_window
,
data
->
whole_rect
.
left
,
data
->
whole_rect
.
top
,
...
...
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