Commit 037d4785 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Make sure the vout window send mouseEvents properly.

parent 1c94ebe4
...@@ -1059,6 +1059,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -1059,6 +1059,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
/* We'll catch mouse events */ /* We'll catch mouse events */
[self makeFirstResponder: o_view]; [self makeFirstResponder: o_view];
[self setCanBecomeKeyWindow: YES]; [self setCanBecomeKeyWindow: YES];
[self setAcceptsMouseMovedEvents: YES];
[self setIgnoresMouseEvents: NO];
if( var_CreateGetBool( p_vout, "macosx-background" ) ) if( var_CreateGetBool( p_vout, "macosx-background" ) )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment