[vlc-devel] commit: globalhotkeys : use new xcb-util API (>= 0.3.4) ( Rafaël Carré )
Jean-Baptiste Kempf
jb at videolan.org
Thu Oct 8 10:42:08 CEST 2009
On Wed, Oct 07, 2009 at 08:03:00PM +0200, git version control wrote :
> +#ifdef XCB_KEYSYM_OLD_API /* as seen in Debian Lenny */
> const xcb_keycode_t key = xcb_key_symbols_get_keycode( p_symbols, sym );
> if( key == 0 )
> +#else
> + const xcb_keycode_t *p_keys = xcb_key_symbols_get_keycode( p_symbols, sym );
> + if( !p_keys )
> return 0;
> +#endif
>
> xcb_get_modifier_mapping_cookie_t r =
> xcb_get_modifier_mapping( p_connection );
This breaks for my compilation,
../../../../modules/control/globalhotkeys/xcb.c: In function
‘GetModifier’:
../../../../modules/control/globalhotkeys/xcb.c:194: error: expected
expression before ‘xcb_get_modifier_mapping_cookie_t’
../../../../modules/control/globalhotkeys/xcb.c:197: error: ‘r’
undeclared (first use in this function)
../../../../modules/control/globalhotkeys/xcb.c:197: error: (Each
undeclared identifier is reported only once
I have an ugly workaround, so I would prefer a correct fix ;)
Best Regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/
More information about the vlc-devel
mailing list