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
ebe95801
Commit
ebe95801
authored
Jun 12, 2013
by
David Fuhrmann
Browse files
macosx: fix start in fullscreen (fixes #8770)
parent
eb9c29c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/intf.m
View file @
ebe95801
...
...
@@ -179,7 +179,13 @@ int WindowOpen(vout_window_t *p_wnd, const vout_window_cfg_t *cfg)
p_wnd
->
handle
.
nsobject
=
videoView
;
// TODO: find a cleaner way for "start in fullscreen"
if
(
var_InheritBool
(
VLCIntf
,
"fullscreen"
))
{
// either prefs settings, or fullscreen button was pressed before
if
(
var_InheritBool
(
VLCIntf
,
"fullscreen"
)
||
var_GetBool
(
pl_Get
(
VLCIntf
),
"fullscreen"
))
{
// this is not set when we start in fullscreen because of
// fullscreen settings in video prefs the second time
var_SetBool
(
p_wnd
->
p_parent
,
"fullscreen"
,
1
);
int
i_full
=
1
;
SEL
sel
=
@selector
(
setFullscreen
:
forWindow
:
);
...
...
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