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
135139ea
Commit
135139ea
authored
Aug 10, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixing hotkey usage.
Grah, stupid, annoying and more. Simple bugs should be forbidden :D
parent
336fb035
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+1
-4
No files found.
modules/gui/macosx/vout.m
View file @
135139ea
...
@@ -494,19 +494,16 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
...
@@ -494,19 +494,16 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
}
}
else
if
(
p_vout
)
else
if
(
p_vout
)
{
{
vlc_value_t
val
;
if
(
key
==
' '
)
if
(
key
==
' '
)
val
.
i_int
=
config_GetInt
(
p_vout
,
"key-play-pause"
);
val
.
i_int
=
config_GetInt
(
p_vout
,
"key-play-pause"
);
else
else
val
.
i_int
|=
CocoaKeyToVLC
(
key
);
val
.
i_int
|=
(
int
)
CocoaKeyToVLC
(
key
);
var_Set
(
p_vout
->
p_libvlc
,
"key-pressed"
,
val
);
var_Set
(
p_vout
->
p_libvlc
,
"key-pressed"
,
val
);
}
}
else
NSLog
(
@"Could not send keyevent to VLC core"
);
else
NSLog
(
@"Could not send keyevent to VLC core"
);
}
}
else
else
{
[
super
keyDown
:
o_event
];
[
super
keyDown
:
o_event
];
}
}
}
-
(
void
)
mouseDown
:(
NSEvent
*
)
o_event
-
(
void
)
mouseDown
:(
NSEvent
*
)
o_event
...
...
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