Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f664fa80
Commit
f664fa80
authored
Jun 12, 2013
by
David Fuhrmann
Browse files
macosx: fix resize to old size when finishing from fullscreen mode
parent
e90bcdbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/MainWindow.m
View file @
f664fa80
...
...
@@ -745,7 +745,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
if
(
!
b_fullscreen
)
frameBeforePlayback
=
[
self
frame
];
}
else
{
if
(
!
b_nonembedded
&&
!
b_fullscreen
&&
frameBeforePlayback
.
size
.
width
>
0
&&
frameBeforePlayback
.
size
.
height
>
0
)
if
(
!
b_nonembedded
&&
(
!
b_nativeFullscreenMode
||
(
b_nativeFullscreenMode
&&
!
b_fullscreen
))
&&
frameBeforePlayback
.
size
.
width
>
0
&&
frameBeforePlayback
.
size
.
height
>
0
)
[[
self
animator
]
setFrame
:
frameBeforePlayback
display
:
YES
];
// update fs button to reflect state for next startup
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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