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
cedc8e70
Commit
cedc8e70
authored
Jun 03, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Don't use XEvents uninitialized when waits time out.
parent
cbf9d1b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
clipboard.c
dlls/winex11.drv/clipboard.c
+10
-1
No files found.
dlls/winex11.drv/clipboard.c
View file @
cedc8e70
...
...
@@ -1842,6 +1842,11 @@ static BOOL X11DRV_CLIPBOARD_QueryTargets(Display *display, Window w, Atom selec
usleep
(
SELECTION_WAIT
);
}
if
(
i
==
SELECTION_RETRIES
)
{
ERR
(
"Timed out waiting for SelectionNotify event
\n
"
);
return
FALSE
;
}
/* Verify that the selection returned a valid TARGETS property */
if
((
xe
->
xselection
.
target
!=
target
)
||
(
xe
->
xselection
.
property
==
None
))
{
...
...
@@ -2111,8 +2116,12 @@ static BOOL X11DRV_CLIPBOARD_ReadSelectionData(Display *display, LPWINE_CLIPDATA
usleep
(
SELECTION_WAIT
);
}
if
(
i
==
SELECTION_RETRIES
)
{
ERR
(
"Timed out waiting for SelectionNotify event
\n
"
);
}
/* Verify that the selection returned a valid TARGETS property */
if
(
xe
.
xselection
.
property
!=
None
)
else
if
(
xe
.
xselection
.
property
!=
None
)
{
/*
* Read the contents of the X selection property
...
...
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