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
6873c3ee
Commit
6873c3ee
authored
Aug 30, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Aug 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Make -setMacDrvParentWindow: do nothing if new parent is same as latent parent.
parent
4b2f4eb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cocoa_window.m
dlls/winemac.drv/cocoa_window.m
+2
-1
No files found.
dlls/winemac.drv/cocoa_window.m
View file @
6873c3ee
...
...
@@ -949,7 +949,8 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
-
(
void
)
setMacDrvParentWindow
:
(
WineWindow
*
)
parent
{
if
([
self
parentWindow
]
!=
parent
)
WineWindow
*
oldParent
=
(
WineWindow
*
)[
self
parentWindow
];
if
((
oldParent
&&
oldParent
!=
parent
)
||
(
!
oldParent
&&
latentParentWindow
!=
parent
))
{
[[
self
parentWindow
]
removeChildWindow
:
self
];
self
.
latentParentWindow
=
nil
;
...
...
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