Are all Wayland registry interfaces unique?

2014-10-12 Thread David Piper
Hi, I’m just getting started with Wayland - I’m at the stage where I can start writing my own mini-clients. I am just wondering if there is a guarantee that all interfaces only ever have a single entry in the registry. If there is no guarantee, I would have to change my code from:

Re: Are all Wayland registry interfaces unique?

2014-10-12 Thread Jasper St. Pierre
There can be more than one global object with the same interface, like in the case of wl_seat and wl_output. For cases like wl_compositor or xdg_shell, there should only be one. On Sun, Oct 12, 2014 at 12:05 AM, David Piper drppub...@gmail.com wrote: Hi, I’m just getting started with Wayland

Re: [PATCH libinput] tablet: Normalization functions can return 1.0

2014-10-12 Thread Peter Hutterer
On Fri, Oct 10, 2014 at 12:45:32PM -0700, Bill Spitzak wrote: --- src/evdev-tablet.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c index ff5f737..9921823 100644 --- a/src/evdev-tablet.c +++ b/src/evdev-tablet.c @@

[PATCH weston] smoke: Don't commit an xdg_surface with a NULL buffer

2014-10-12 Thread Jasper St. Pierre
Committing to an xdg_surface with a NULL buffer is currently illegal in the mutter implementation, so this simply causes the client to error and exit. It seems the reason the client did this was so it could add its own frame callback, but toytoolkit actually provides accurate everything we need.

[PATCH v5 1/3] Protocol : Added destructor to wl_data_device interface

2014-10-12 Thread kabeer khan
Fix for Bug# 81745 Signed-off-by: kabeer khan kabeer.k...@samsung.com --- protocol/wayland.xml | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 3645208..a129de2 100644 --- a/protocol/wayland.xml +++

[PATCH weston v5 2/3] Implement data_device interface destructor

2014-10-12 Thread kabeer khan
window : compare version and call appropriate destructor Signed-off-by: kabeer khan kabeer.k...@samsung.com --- clients/window.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/clients/window.c b/clients/window.c index 139c7f9..12851ba 100644 ---

[PATCH weston v5 3/3 1/2] Implement data_device interface destructor

2014-10-12 Thread kabeer khan
data_device : change version while initializing data_device_manager interface and data_device interface Signed-off-by: kabeer khan kabeer.k...@samsung.com --- src/data-device.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/data-device.c