Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d38a1d80
Commit
d38a1d80
authored
Jul 22, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Make sure that the fspanel shows up in Float-On-Top mode.
parent
4081f99f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+10
-6
No files found.
modules/gui/macosx/vout.m
View file @
d38a1d80
...
...
@@ -881,15 +881,15 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
-
(
void
)
enterFullscreen
{
[
super
enterFullscreen
];
[
o_window
performSelectorOnMainThread
:
@selector
(
enterFullscreen
)
withObject
:
NULL
waitUntilDone
:
NO
];
[
super
enterFullscreen
];
}
-
(
void
)
leaveFullscreen
{
[
super
leaveFullscreen
];
[
o_window
performSelectorOnMainThread
:
@selector
(
leaveFullscreen
)
withObject
:
NULL
waitUntilDone
:
NO
];
[
super
leaveFullscreen
];
}
...
...
@@ -1128,15 +1128,17 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
[
self
setMovableByWindowBackground
:
NO
];
/* tell the fspanel to move itself to front next time it's triggered */
[[[[
VLCMain
sharedInstance
]
getControls
]
getFSPanel
]
setVoutWasUpdated
:
i_device
];
[[[[
VLCMain
sharedInstance
]
getControls
]
getFSPanel
]
setActive
:
nil
];
if
(
[
screen
isMainScreen
]
)
SetSystemUIMode
(
kUIModeAllHidden
,
kUIOptionAutoShowMenuBar
);
initialFrame
=
[
self
frame
];
[
self
setFrame
:[
screen
frame
]
display
:
YES
animate
:
YES
];
[
self
setLevel
:
NSNormalWindowLevel
];
/* tell the fspanel to move itself to front next time it's triggered */
[[[[
VLCMain
sharedInstance
]
getControls
]
getFSPanel
]
setVoutWasUpdated
:
i_device
];
[[[[
VLCMain
sharedInstance
]
getControls
]
getFSPanel
]
setActive
:
nil
];
fullscreen
=
YES
;
}
...
...
@@ -1151,6 +1153,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
SetSystemUIMode
(
kUIModeNormal
,
kUIOptionAutoShowMenuBar
);
[
self
setFrame
:
initialFrame
display
:
YES
animate
:
YES
];
[
self
setMovableByWindowBackground
:
YES
];
if
(
var_GetBool
(
p_vout
,
"video-on-top"
)
)
[
self
setLevel
:
NSStatusWindowLevel
];
}
-
(
id
)
getVoutView
// FIXME Naming scheme!
...
...
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