[PATCH] window.c: Remove xkb leftovers

Kristian Høgsberg hoegsberg at gmail.com
Wed Jul 25 13:24:42 PDT 2012


On Wed, Jul 25, 2012 at 07:10:33PM +0200, Andre Heider wrote:

Looks good, thanks.

Kristian

> ---
>  clients/window.c |   13 -------------
>  1 file changed, 13 deletions(-)
> 
> diff --git a/clients/window.c b/clients/window.c
> index 186eed9..c55ec77 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -323,16 +323,6 @@ enum window_location {
>  	WINDOW_CLIENT_AREA = 18,
>  };
>  
> -const char *option_xkb_layout = "us";
> -const char *option_xkb_variant = "";
> -const char *option_xkb_options = "";
> -
> -static const struct weston_option xkb_options[] = {
> -	{ WESTON_OPTION_STRING, "xkb-layout", 0, &option_xkb_layout },
> -	{ WESTON_OPTION_STRING, "xkb-variant", 0, &option_xkb_variant },
> -	{ WESTON_OPTION_STRING, "xkb-options", 0, &option_xkb_options },
> -};
> -
>  static const cairo_user_data_key_t surface_data_key;
>  struct surface_data {
>  	struct wl_buffer *buffer;
> @@ -3523,9 +3513,6 @@ display_create(int argc, char *argv[])
>  {
>  	struct display *d;
>  
> -	argc = parse_options(xkb_options,
> -			     ARRAY_LENGTH(xkb_options), argc, argv);
> -
>  	d = malloc(sizeof *d);
>  	if (d == NULL)
>  		return NULL;
> -- 
> 1.7.10.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list