Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
bf330d22
Commit
bf330d22
authored
Sep 21, 2012
by
David Fuhrmann
Browse files
macosx: simplify one setting and fix a typo regarding extra video window
parent
a0140fe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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