[RFC wayland 1/2] connection: Move some definitions

2014-07-19 Thread Boyan Ding
wayland-tracer will need them Signed-off-by: Boyan Ding --- src/connection.c | 18 +++--- src/wayland-private.h | 18 +- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/connection.c b/src/connection.c index f292853..79197c9 100644 --- a/src/c

[RFC wayland 0/2] Wayland protocol dumper

2014-07-19 Thread Boyan Ding
The idea of wayland protocol dumper came from [1]. And this patch series implements a prototype of it. I found wayland utilities quite convenient so I decided to base my work on top of wayland (although not using libwayland-client or libwayland-server), so it temporarily (and I hope eventually it c

[RFC wayland 2/2] Add a wayland protocol dumper wayland-tracer

2014-07-19 Thread Boyan Ding
Signed-off-by: Boyan Ding --- .gitignore | 1 + Makefile.am | 10 ++ configure.ac | 7 ++ src/tracer.c | 351 +++ 4 files changed, 369 insertions(+) create mode 100644 src/tracer.c diff --git a/.gitignore b/.gitignore index c146bac

Re: Fwd: [PATCH weston] xdg-shell: Make stable

2014-07-19 Thread Manuel Bachmann
Hi Jasper, Jaspon, thanks for taking good arguments to the table, "Destroying and creating an xdg_surface will, certainly." Yes, that's what we have been doing for some time, but it has the serious drawback that the new surface will not be positioned the same. "xdg_surface_present_window()" "wi