[PATCH 02/18] text: Add example for language/text direction

FORT David rdp.effort at gmail.com
Mon Apr 8 03:13:05 PDT 2013


2013/4/8 Jan Arne Petersen <jpetersen at openismus.com>

> From: Jan Arne Petersen <jpetersen at openismus.com>
>
> Signed-off-by: Jan Arne Petersen <jpetersen at openismus.com>
> ---
>  clients/editor.c   | 36 +++++++++++++++++++++-
>  clients/keyboard.c | 89
> ++++++++++++++++++++++++++++++++++++++++++++++++++++--
>  2 files changed, 121 insertions(+), 4 deletions(-)
>
> diff --git a/clients/editor.c b/clients/editor.c
> index e037c2f..58c6911 100644
> --- a/clients/editor.c
> +++ b/clients/editor.c
> @@ -65,6 +65,7 @@ struct text_entry {
>         uint32_t serial;
>         uint32_t content_purpose;
>         uint32_t click_to_show;
> +       char *preferred_language;
>  };
>
>  struct editor {
> @@ -397,6 +398,7 @@ text_model_language(void *data,
>                     uint32_t serial,
>                     const char *language)
>  {
> +       fprintf(stderr, "input language is %s \n", language);
>
Should be weston_log(...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130408/2d2e9fe6/attachment.html>


More information about the wayland-devel mailing list