Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
95779dd9
Commit
95779dd9
authored
Jul 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: remove the show window hack.
parent
1af1638e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
modules/gui/macosx/vout.h
modules/gui/macosx/vout.h
+0
-3
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+2
-10
No files found.
modules/gui/macosx/vout.h
View file @
95779dd9
...
...
@@ -102,9 +102,6 @@
id
o_embeddedwindow
;
}
-
(
BOOL
)
setVout
:
(
vout_thread_t
*
)
p_arg_vout
subView
:
(
NSView
*
)
view
frame
:
(
NSRect
*
)
s_arg_frame
showWindow
:
(
BOOL
)
b_show_window
;
-
(
void
)
setUsed
:
(
BOOL
)
b_new_used
;
-
(
BOOL
)
isUsed
;
...
...
modules/gui/macosx/vout.m
View file @
95779dd9
...
...
@@ -896,7 +896,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
}
-
(
BOOL
)
setVout
:
(
vout_thread_t
*
)
p_arg_vout
subView
:
(
NSView
*
)
view
frame
:
(
NSRect
*
)
s_arg_frame
showWindow
:
(
BOOL
)
b_show_window
frame
:
(
NSRect
*
)
s_arg_frame
{
BOOL
b_return
;
...
...
@@ -906,8 +906,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if
(
b_return
)
{
o_window
=
[
self
window
];
if
(
b_show_window
)
[
o_window
makeKeyAndOrderFront
:
self
];
[
o_window
setAcceptsMouseMovedEvents
:
TRUE
];
if
(
var_GetBool
(
p_real_vout
,
"video-on-top"
)
)
...
...
@@ -950,13 +949,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
return
b_return
;
}
-
(
BOOL
)
setVout
:
(
vout_thread_t
*
)
p_arg_vout
subView
:
(
NSView
*
)
view
frame
:
(
NSRect
*
)
s_arg_frame
{
return
[
self
setVout
:
p_arg_vout
subView
:
view
frame
:
s_arg_frame
showWindow
:
YES
];
}
-
(
void
)
setUsed
:
(
BOOL
)
b_new_used
{
b_used
=
b_new_used
;
...
...
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