From 82b4c1bc6b4aa02472c0bfa9517b931ce6f56e8b Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Wed, 25 Jul 2012 19:10:33 +0200 Subject: [PATCH] window.c: Remove xkb leftovers --- clients/window.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/clients/window.c b/clients/window.c index 186eed91..c55ec77a 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;