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
2f8dbe1e
Commit
2f8dbe1e
authored
Mar 03, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix main screen detection for the detached window on Mac OS X.
parent
144e4cc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+1
-3
No files found.
modules/gui/macosx/vout.m
View file @
2f8dbe1e
...
...
@@ -925,8 +925,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if
(
!
([
o_window
isFullscreen
]))
[
o_window
makeKeyAndOrderFront
:
self
];
NSLog
(
@"We are %s animating (%s)"
,
[
o_window
isVisible
]
&&
(
!
[
o_window
isFullscreen
])
?
""
:
"not"
,
[
o_window
isFullscreen
]
?
"fullscreen"
:
""
);
[
self
scaleWindowWithFactor
:
1
.
0
animate
:
[
o_window
isVisible
]
&&
(
!
[
o_window
isFullscreen
])];
}
return
b_return
;
...
...
@@ -1001,7 +999,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if
(
!
o_screen
)
o_screen
=
[
NSScreen
mainScreen
];
if
(
o_screen
==
[
NSScreen
m
ainScreen
]
)
if
(
[
o_screen
isM
ainScreen
]
)
b_menubar_screen
=
VLC_TRUE
;
if
(
p_vout
->
b_fullscreen
)
...
...
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