[PATCH] editor: Malloc check, flush stuck keyboard

2012-06-21 Thread Martin Minarik
The on screen keyboard stays displayed when the editor is closed. We need to flush the display once more. This patch adds the display_flush() method to window.c, to execute wl_display_flush() once, not in a loop like in display_run(). It also adds the NULL checks in constructor and destructor. -

Re: Input Method Support for Wayland

2012-06-21 Thread Kristian Høgsberg
On Thu, Jun 21, 2012 at 09:52:16PM +0200, Jan Arne Petersen wrote: > Last week, I was implementing a little bit from the Input Method System > proposal (https://wiki.maliit.org/Wayland_Input_Method_System_Proposal). See > my blog post: > http://blog.jpetersen.org/2012/06/20/text-input-method-suppor

[PATCH 3/3] text: Add example clients for text protocol

2012-06-21 Thread Jan Arne Petersen
From: Jan Arne Petersen --- clients/.gitignore |4 + clients/Makefile.am | 18 +++ clients/editor.c| 301 +++ clients/keyboard.c | 214 4 files changed, 537 insertions(+) create mode 100644 client

[PATCH 1/3] shell: Add support for input panels

2012-06-21 Thread Jan Arne Petersen
From: Jan Arne Petersen --- protocol/desktop-shell.xml | 17 ++ src/compositor.c |2 + src/compositor.h |3 + src/shell.c| 132 4 files changed, 154 insertions(+) diff --git a/protocol/desktop-shell.

[PATCH 2/3] text: Add input_method and text_model interfaces

2012-06-21 Thread Jan Arne Petersen
From: Jan Arne Petersen --- protocol/Makefile.am |3 +- protocol/text.xml| 50 src/.gitignore |2 + src/Makefile.am |5 ++ src/compositor.c |1 + src/compositor.h |3 + src/text-backend.c | 222 +

Input Method Support for Wayland

2012-06-21 Thread Jan Arne Petersen
Last week, I was implementing a little bit from the Input Method System proposal (https://wiki.maliit.org/Wayland_Input_Method_System_Proposal). See my blog post: http://blog.jpetersen.org/2012/06/20/text-input-method-support-in-wayland/ It does not contain the really interesting stuff like integr