[vlc-commits] XCB hotkeys: do not use --x11-display anymore
Rémi Denis-Courmont
git at videolan.org
Tue Jan 18 18:05:51 CET 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan 18 18:46:40 2011 +0200| [873b1ceb33effa4e1813d3d537773517bda0f8db] | committer: Rémi Denis-Courmont
XCB hotkeys: do not use --x11-display anymore
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=873b1ceb33effa4e1813d3d537773517bda0f8db
---
modules/control/globalhotkeys/xcb.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/modules/control/globalhotkeys/xcb.c b/modules/control/globalhotkeys/xcb.c
index fbda041..5ed108d 100644
--- a/modules/control/globalhotkeys/xcb.c
+++ b/modules/control/globalhotkeys/xcb.c
@@ -94,11 +94,8 @@ static int Open( vlc_object_t *p_this )
if( !p_sys )
return VLC_ENOMEM;
- char *psz_display = var_CreateGetNonEmptyString( p_intf, "x11-display" );
-
int i_screen_default;
- p_sys->p_connection = xcb_connect( psz_display, &i_screen_default );
- free( psz_display );
+ p_sys->p_connection = xcb_connect( NULL, &i_screen_default );
if( xcb_connection_has_error( p_sys->p_connection ) )
goto error;
More information about the vlc-commits
mailing list