Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
11981e96
Commit
11981e96
authored
Apr 29, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix the fullscreen button.
parent
d0b60e65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
17 deletions
+11
-17
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+11
-17
No files found.
modules/gui/macosx/intf.m
View file @
11981e96
...
...
@@ -487,20 +487,19 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
[
self
setSubmenusEnabled
:
FALSE
];
[
self
manageVolumeSlider
];
/* Check if we need to start playing */
if
(
p_intf
->
b_play
)
{
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
)
{
/* Check if we need to start playing */
if
(
p_intf
->
b_play
)
{
playlist_Play
(
p_playlist
);
}
var_Get
(
p_playlist
,
"fullscreen"
,
&
val
);
[
o_btn_fullscreen
setState
:
val
.
b_bool
];
vlc_object_release
(
p_playlist
);
}
}
[
o_btn_fullscreen
setState
:
(
var_Get
(
p_playlist
,
"fullscreen"
,
&
val
)
>=
0
&&
val
.
b_bool
)];
}
-
(
void
)
initStrings
...
...
@@ -866,14 +865,9 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
{
vout_thread_t
*
p_vout
;
vlc_value_t
val
;
if
(
var_Get
(
p_playlist
,
"fullscreen"
,
&
val
)
>=
0
&&
val
.
b_bool
)
{
[
o_btn_fullscreen
setState
:
VLC_TRUE
];
}
else
{
[
o_btn_fullscreen
setState
:
VLC_FALSE
];
}
[
o_btn_fullscreen
setState
:
(
var_Get
(
p_playlist
,
"fullscreen"
,
&
val
)
>=
0
&&
val
.
b_bool
)
];
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
if
(
p_vout
!=
NULL
)
{
...
...
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