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
2bcba23f
Commit
2bcba23f
authored
Sep 14, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: choose more sane initial window position for \!video-deco window
parent
895880e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+2
-1
No files found.
modules/gui/macosx/MainWindow.m
View file @
2bcba23f
...
@@ -1620,7 +1620,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -1620,7 +1620,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
if
(
b_video_wallpaper
)
if
(
b_video_wallpaper
)
window_rect
=
[
screen
frame
];
window_rect
=
[
screen
frame
];
else
else
window_rect
=
NSMakeRect
(
50
,
50
,
200
,
200
);
// TODO: find something more sensible here
window_rect
=
[
self
frame
];
if
(
o_extra_video_window
)
if
(
o_extra_video_window
)
[
o_extra_video_window
release
];
[
o_extra_video_window
release
];
...
@@ -1654,6 +1654,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -1654,6 +1654,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
if
(
b_video_wallpaper
)
if
(
b_video_wallpaper
)
[
o_extra_video_window
orderBack
:
nil
];
[
o_extra_video_window
orderBack
:
nil
];
else
{
else
{
[
o_extra_video_window
center
];
[
o_extra_video_window
setFrameAutosaveName
:
@"extra-videowindow"
];
[
o_extra_video_window
setFrameAutosaveName
:
@"extra-videowindow"
];
[
o_detached_video_window
setContentMinSize
:
NSMakeSize
(
f_min_video_height
,
f_min_video_height
)];
[
o_detached_video_window
setContentMinSize
:
NSMakeSize
(
f_min_video_height
,
f_min_video_height
)];
}
}
...
...
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