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
d74e9008
Commit
d74e9008
authored
Feb 17, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Feb 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Don't set Cocoa window frame to be zero-sized.
parent
47352930
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
cocoa_window.m
dlls/winemac.drv/cocoa_window.m
+10
-7
No files found.
dlls/winemac.drv/cocoa_window.m
View file @
d74e9008
...
...
@@ -429,14 +429,17 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
[
self
doOrderOut
];
}
oldFrame
=
[
self
frame
];
frame
=
[
self
frameRectForContentRect
:
contentRect
];
if
(
!
NSEqualRects
(
frame
,
oldFrame
))
if
(
!
NSIsEmptyRect
(
contentRect
))
{
if
(
NSEqualSizes
(
frame
.
size
,
oldFrame
.
size
))
[
self
setFrameOrigin
:
frame
.
origin
];
else
[
self
setFrame
:
frame
display
:
YES
];
oldFrame
=
[
self
frame
];
frame
=
[
self
frameRectForContentRect
:
contentRect
];
if
(
!
NSEqualRects
(
frame
,
oldFrame
))
{
if
(
NSEqualSizes
(
frame
.
size
,
oldFrame
.
size
))
[
self
setFrameOrigin
:
frame
.
origin
];
else
[
self
setFrame
:
frame
display
:
YES
];
}
}
if
(
on_screen
)
...
...
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