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
e34ccb4c
Commit
e34ccb4c
authored
Apr 01, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11drv: Get rid of XSync calls on window creation and destruction.
parent
fb8ca46e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
window.c
dlls/x11drv/window.c
+0
-3
No files found.
dlls/x11drv/window.c
View file @
e34ccb4c
...
...
@@ -702,8 +702,6 @@ static Window create_whole_window( Display *display, struct x11drv_win_data *dat
changes
.
stack_mode
=
Below
;
XConfigureWindow
(
display
,
data
->
whole_window
,
CWStackMode
,
&
changes
);
}
XSync
(
display
,
False
);
/* FIXME: should not be needed */
wine_tsx11_unlock
();
xim
=
x11drv_thread_data
()
->
xim
;
...
...
@@ -730,7 +728,6 @@ static void destroy_whole_window( Display *display, struct x11drv_win_data *data
TRACE
(
"win %p xwin %lx
\n
"
,
data
->
hwnd
,
data
->
whole_window
);
if
(
thread_data
->
cursor_window
==
data
->
whole_window
)
thread_data
->
cursor_window
=
None
;
wine_tsx11_lock
();
XSync
(
gdi_display
,
False
);
/* flush any reference to this drawable in GDI queue */
XDeleteContext
(
display
,
data
->
whole_window
,
winContext
);
if
(
data
->
whole_window
!=
DefaultRootWindow
(
display
))
XDestroyWindow
(
display
,
data
->
whole_window
);
...
...
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