Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cdd7a21b
Commit
cdd7a21b
authored
Feb 18, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix bug which hides fspanel when video on top is enabled
close #8110
parent
e553d8c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+7
-4
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+3
-0
No files found.
modules/gui/macosx/MainWindow.m
View file @
cdd7a21b
...
@@ -1625,11 +1625,14 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -1625,11 +1625,14 @@ static VLCMainWindow *_o_sharedInstance = nil;
[[
o_video_view
window
]
setAlphaValue
:
config_GetFloat
(
VLCIntf
,
"macosx-opaqueness"
)];
[[
o_video_view
window
]
setAlphaValue
:
config_GetFloat
(
VLCIntf
,
"macosx-opaqueness"
)];
if
(
p_vout
)
if
(
p_vout
)
{
if
(
!
b_fullscreen
)
{
{
if
(
var_GetBool
(
p_vout
,
"video-on-top"
)
)
if
(
var_GetBool
(
p_vout
,
"video-on-top"
)
)
[[
o_video_view
window
]
setLevel
:
NSStatusWindowLevel
];
[[
o_video_view
window
]
setLevel
:
NSStatusWindowLevel
];
else
else
[[
o_video_view
window
]
setLevel
:
NSNormalWindowLevel
];
[[
o_video_view
window
]
setLevel
:
NSNormalWindowLevel
];
}
vlc_object_release
(
p_vout
);
vlc_object_release
(
p_vout
);
}
}
}
}
...
...
modules/gui/macosx/intf.m
View file @
cdd7a21b
...
@@ -1707,6 +1707,9 @@ unsigned int CocoaKeyToVLC( unichar i_key )
...
@@ -1707,6 +1707,9 @@ unsigned int CocoaKeyToVLC( unichar i_key )
-
(
void
)
setWindowLevel
:(
NSNumber
*
)
state
-
(
void
)
setWindowLevel
:(
NSNumber
*
)
state
{
{
if
([[
VLCMainWindow
sharedInstance
]
isFullscreen
])
return
;
if
([
state
unsignedIntValue
]
&
VOUT_WINDOW_STATE_ABOVE
)
if
([
state
unsignedIntValue
]
&
VOUT_WINDOW_STATE_ABOVE
)
[[[[
VLCMainWindow
sharedInstance
]
videoView
]
window
]
setLevel
:
NSStatusWindowLevel
];
[[[[
VLCMainWindow
sharedInstance
]
videoView
]
window
]
setLevel
:
NSStatusWindowLevel
];
else
else
...
...
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