This bug can be observed in action using the following steps:
* ./editor
* (in another terminal) ./keyboard
* click into a field of the editor (the keyboard appears)
* click outside of a field of the editor (keybord disappears)
* kill the keyboard (ctrl-c)
* click into a field of the editor again
-
---
clients/window.c | 115 --
1 file changed, 16 insertions(+), 99 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index d0b7a7d..17b373e 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -66,8 +66,6 @@
#include "window.
---
clients/simple-touch.c | 26 --
1 file changed, 8 insertions(+), 18 deletions(-)
diff --git a/clients/simple-touch.c b/clients/simple-touch.c
index 6087fe4..91b0e0b 100644
--- a/clients/simple-touch.c
+++ b/clients/simple-touch.c
@@ -26,8 +26,6 @@
#include
#includ
---
clients/simple-shm.c | 24
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/clients/simple-shm.c b/clients/simple-shm.c
index 252e040..0e5a32e 100644
--- a/clients/simple-shm.c
+++ b/clients/simple-shm.c
@@ -26,8 +26,6 @@
#include
#include
#include
---
clients/screenshot.c | 24
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/clients/screenshot.c b/clients/screenshot.c
index 7395bf3..b8b866a 100644
--- a/clients/screenshot.c
+++ b/clients/screenshot.c
@@ -25,10 +25,8 @@
#include
#include
#includ
---
cursor/wayland-cursor.c | 115 ++-
1 file changed, 24 insertions(+), 91 deletions(-)
diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c
index 10e8f62..8e467f6 100644
--- a/cursor/wayland-cursor.c
+++ b/cursor/wayland-cursor.c
@@ -31,93
Every client dealing with shm buffers requires code to set up pools.
Wayland already implements this platform independent, so make public
helper function available instead of putting the burden on every client.
---
src/Makefile.am |6 ++-
src/wayland-client.c | 110 ++
As with weston, link a static, non-installable library with shared code.
This currently only contains os-compability.c, moved from cursor/.
---
configure.ac |1 +
cursor/Makefile.am| 12 ++---
cursor/os-compatibility.c | 128 -
This set adds a couple of helper function to wayland-client to handle
shm pools.
Motivation: I noticed the amount of code duplication on client side.
On top of that, wayland already maintains this platform independent.
I'm not happy with the names of the functions, and the API needs a few more
th