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
ad4ff46f
Commit
ad4ff46f
authored
Jan 15, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: make sure that playbacks stops when closing the main window (fixes #5858)
parent
b0ac1fc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+6
-0
modules/gui/macosx/MainWindowTitle.m
modules/gui/macosx/MainWindowTitle.m
+1
-1
No files found.
modules/gui/macosx/MainWindow.m
View file @
ad4ff46f
...
...
@@ -752,7 +752,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
-
(
void
)
performClose
:(
id
)
sender
{
if
(
b_dark_interface
)
{
[
self
orderOut
:
sender
];
[[
VLCCoreInteraction
sharedInstance
]
stop
];
}
else
[
super
performClose
:
sender
];
}
...
...
@@ -760,7 +763,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
-
(
void
)
performMiniaturize
:(
id
)
sender
{
if
(
b_dark_interface
)
{
[
self
miniaturize
:
sender
];
[[
VLCCoreInteraction
sharedInstance
]
pause
];
}
else
[
super
performMiniaturize
:
sender
];
}
...
...
modules/gui/macosx/MainWindowTitle.m
View file @
ad4ff46f
...
...
@@ -158,7 +158,7 @@
-
(
IBAction
)
buttonAction
:(
id
)
sender
{
if
(
sender
==
o_red_btn
)
[[
self
window
]
orderOut
:
sender
];
[[
self
window
]
performClose
:
sender
];
else
if
(
sender
==
o_yellow_btn
)
[[
self
window
]
miniaturize
:
sender
];
else
if
(
sender
==
o_green_btn
)
...
...
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