Release all keys before hiding the keyboard default tip
authorThibaut Girka <thib@sitedethib.com>
Fri, 22 Jul 2011 00:30:38 +0200
changeset 20 7c18d7b35b56
parent 19 37cc422efb37
Release all keys before hiding the keyboard
ui.c
--- a/ui.c	Thu Jul 21 23:23:29 2011 +0200
+++ b/ui.c	Fri Jul 22 00:30:38 2011 +0200
@@ -449,6 +449,7 @@
 {
     if (!ui->visible)
         return;
+    ui_release_all_keys(ui);
     ui->visible = False;
     XUnmapWindow(ui->vkb->display, ui->xwin);
 }