Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2da17fc8
Commit
2da17fc8
authored
Jun 20, 2013
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix space hotkey for audio files (close #8818)
parent
e6de5c7a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
modules/gui/macosx/StringUtility.m
modules/gui/macosx/StringUtility.m
+2
-0
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+0
-4
No files found.
modules/gui/macosx/StringUtility.m
View file @
2da17fc8
...
...
@@ -311,6 +311,8 @@ unsigned int CocoaKeyToVLC(unichar i_key)
return
[
NSString
stringWithFormat
:
@"%C"
,
NSF2FunctionKey
];
else
if
([
theString
rangeOfString
:
@"F1"
].
location
!=
NSNotFound
)
return
[
NSString
stringWithFormat
:
@"%C"
,
NSF1FunctionKey
];
else
if
([
theString
rangeOfString
:
@"Space"
].
location
!=
NSNotFound
)
return
@" "
;
/* note that we don't support esc here, since it is reserved for leaving fullscreen */
}
#ifdef __clang__
...
...
modules/gui/macosx/controls.m
View file @
2da17fc8
...
...
@@ -193,10 +193,6 @@
eventHandled
=
YES
;
}
}
else
if
(
key
==
' '
)
{
[
self
play
:
self
];
eventHandled
=
YES
;
}
vlc_object_release
(
p_vout
);
}
vlc_object_release
(
p_input
);
...
...
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