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
401ccc73
Commit
401ccc73
authored
Aug 25, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: If importing an X11 clipboard format fails, try other candidate formats for the target.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
82fc4c8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
clipboard.c
dlls/winex11.drv/clipboard.c
+3
-2
No files found.
dlls/winex11.drv/clipboard.c
View file @
401ccc73
...
...
@@ -1087,8 +1087,9 @@ static HANDLE render_format( UINT id )
for
(
i
=
0
;
i
<
nb_current_x11_formats
;
i
++
)
{
if
(
current_x11_formats
[
i
]
->
id
!=
id
)
continue
;
handle
=
import_selection
(
display
,
import_window
,
current_selection
,
current_x11_formats
[
i
]
);
if
(
handle
)
SetClipboardData
(
id
,
handle
);
if
(
!
(
handle
=
import_selection
(
display
,
import_window
,
current_selection
,
current_x11_formats
[
i
]
)))
continue
;
SetClipboardData
(
id
,
handle
);
break
;
}
return
handle
;
...
...
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