George Liaskos <geo.lias...@gmail.com> wrote:
> The latest version has a GUI option to set the shortcut for switching
> between keyboard layouts. Handy for newcomers.
> It has an added dependency to librsvg2 because the country flags are
> in svg format now, the following patch takes care of the compilation
> errors.
> 
> --- xkb-config.c.orig 2011-03-06 04:02:24.000000000 +0200
> +++ xkb-config.c      2011-03-06 04:09:26.000000000 +0200
> @@ -150,7 +150,7 @@
>      config->application_map = g_hash_table_new (g_direct_hash, NULL);
> 
>      registry = xkl_config_registry_get_instance (config->engine);
> -    xkl_config_registry_load (registry);
> +    xkl_config_registry_load (registry, FALSE);
> 
>      config_item = xkl_config_item_new ();
> 
> @@ -214,7 +214,8 @@
> 
>      gdk_window_remove_filter (NULL, (GdkFilterFunc) handle_xevent,
> NULL);
> 
> -    xkl_engine_stop_listen (config->engine);
> +    xkl_engine_stop_listen (config->engine,
> +      XKLL_MANAGE_LAYOUTS | XKLL_MANAGE_WINDOW_STATES);
>  }
> 
>  gint
> @@ -547,7 +548,7 @@
>      if (!config) return NULL;
> 
>      registry = xkl_config_registry_get_instance (config->engine);
> -    xkl_config_registry_load (registry);
> +    xkl_config_registry_load (registry, FALSE);
> 
>      return registry;
>  }
> 
> Regards

Hi George, thanks for the update. Could you please create a PR so that
it doesn't get lost?

Emanuel
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to