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
bf330d22
Commit
bf330d22
authored
Sep 21, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: simplify one setting and fix a typo regarding extra video window
parent
a0140fe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+1
-15
modules/gui/macosx/Windows.m
modules/gui/macosx/Windows.m
+1
-0
No files found.
modules/gui/macosx/MainWindow.m
View file @
bf330d22
...
...
@@ -511,10 +511,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
#pragma mark -
#pragma mark overwritten default functionality
-
(
BOOL
)
canBecomeKeyWindow
{
return
YES
;
}
-
(
void
)
windowResizedOrMoved
:(
NSNotification
*
)
notification
{
...
...
@@ -787,7 +783,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
else
{
[
o_extra_video_window
center
];
[
o_extra_video_window
setFrameAutosaveName
:
@"extra-videowindow"
];
[
o_
detached
_video_window
setContentMinSize
:
NSMakeSize
(
f_min_video_height
,
f_min_video_height
)];
[
o_
extra
_video_window
setContentMinSize
:
NSMakeSize
(
f_min_video_height
,
f_min_video_height
)];
}
b_nonembedded
=
YES
;
...
...
@@ -1870,14 +1866,4 @@ static VLCMainWindow *_o_sharedInstance = nil;
}
}
-
(
IBAction
)
fullscreen
:(
id
)
sender
{
[[
VLCCoreInteraction
sharedInstance
]
toggleFullscreen
];
}
-
(
BOOL
)
canBecomeKeyWindow
{
return
YES
;
}
@end
modules/gui/macosx/Windows.m
View file @
bf330d22
...
...
@@ -242,6 +242,7 @@
/* we want to be moveable regardless of our style */
[
self
setMovableByWindowBackground
:
YES
];
[
self
setCanBecomeKeyWindow
:
YES
];
return
self
;
}
...
...
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