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
9d777f90
Commit
9d777f90
authored
Oct 12, 2001
by
Dominik Strasser
Committed by
Alexandre Julliard
Oct 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround X11 BadWindow error if no parent window is found.
parent
3b3025b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
clipboard.c
windows/x11drv/clipboard.c
+7
-2
No files found.
windows/x11drv/clipboard.c
View file @
9d777f90
...
...
@@ -1060,9 +1060,14 @@ BOOL X11DRV_GetClipboardData(UINT wFormat)
if
(
!
selectionAcquired
)
{
XEvent
xe
;
XEvent
xe
;
Atom
propRequest
;
Window
w
=
X11DRV_get_whole_window
(
GetAncestor
(
hWnd
,
GA_ROOT
));
Window
w
=
X11DRV_get_whole_window
(
GetAncestor
(
hWnd
,
GA_ROOT
));
if
(
!
w
)
{
FIXME
(
"No parent win found %x %x
\n
"
,
hWnd
,
hWndClipWindow
);
return
FALSE
;
}
/* Map the format ID requested to an X selection property.
* If the format is in the cache, use the atom associated
...
...
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