Re: [PATCH] editor: Malloc check, flush stuck keyboard

2012-06-22 Thread Kristian Høgsberg
On Fri, Jun 22, 2012 at 04:59:00AM +0200, Martin Minarik wrote: > 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 d

[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. -