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
b71b4312
Commit
b71b4312
authored
Jul 06, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: select right screen when fullscreen on startup is enabled
close #7051
parent
7d42f68a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+1
-7
No files found.
modules/gui/macosx/MainWindow.m
View file @
b71b4312
...
...
@@ -1950,13 +1950,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
NSScreen
*
screen
;
NSRect
screen_rect
;
NSRect
rect
;
vout_thread_t
*
p_vout
=
getVout
();
BOOL
blackout_other_displays
=
config_GetInt
(
VLCIntf
,
"macosx-black"
);
id
o_videoWindow
=
b_nonembedded
?
o_detached_video_window
:
self
;
if
(
p_vout
)
screen
=
[
NSScreen
screenWithDisplayID
:(
CGDirectDisplayID
)
config_GetInt
(
VLCIntf
,
"macosx-vdev"
)];
screen
=
[
NSScreen
screenWithDisplayID
:(
CGDirectDisplayID
)
config_GetInt
(
VLCIntf
,
"macosx-vdev"
)];
[
self
lockFullscreenAnimation
];
if
(
!
screen
)
...
...
@@ -1970,9 +1967,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
screen
=
[
NSScreen
deepestScreen
];
}
if
(
p_vout
)
vlc_object_release
(
p_vout
);
screen_rect
=
[
screen
frame
];
[
o_fullscreen_btn
setState
:
YES
];
...
...
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