Commit 873b1ceb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB hotkeys: do not use --x11-display anymore

parent 0ac89c18
...@@ -94,11 +94,8 @@ static int Open( vlc_object_t *p_this ) ...@@ -94,11 +94,8 @@ static int Open( vlc_object_t *p_this )
if( !p_sys ) if( !p_sys )
return VLC_ENOMEM; return VLC_ENOMEM;
char *psz_display = var_CreateGetNonEmptyString( p_intf, "x11-display" );
int i_screen_default; int i_screen_default;
p_sys->p_connection = xcb_connect( psz_display, &i_screen_default ); p_sys->p_connection = xcb_connect( NULL, &i_screen_default );
free( psz_display );
if( xcb_connection_has_error( p_sys->p_connection ) ) if( xcb_connection_has_error( p_sys->p_connection ) )
goto error; goto error;
......
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