<div dir="ltr"><div>Thanks for taking this on. I'm disappointed about the duplication, but if somebody else does the work, I can't really complain.<br><br>The whole series is:<br></div><br>Reviewed-by: Jasper St. Pierre <<a href="mailto:jstpierre@mecheye.net">jstpierre@mecheye.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 1, 2014 at 7:50 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Pekka Paalanen <<a href="mailto:pekka.paalanen@collabora.co.uk">pekka.paalanen@collabora.co.uk</a>><br>
<br>
Hi,<br>
<br>
this is my attempt on the wl_surface role conflict (trying<br>
to change a surface role) error patches. Jasper's original<br>
version is here:<br>
<a href="http://lists.freedesktop.org/archives/wayland-devel/2014-August/016810.html" target="_blank">http://lists.freedesktop.org/archives/wayland-devel/2014-August/016810.html</a><br>
<a href="http://lists.freedesktop.org/archives/wayland-devel/2014-August/016811.html" target="_blank">http://lists.freedesktop.org/archives/wayland-devel/2014-August/016811.html</a><br>
<br>
The main differences are noted in the "compositor:" patch.<br>
<br>
<br>
Thanks,<br>
pq<br>
<br>
Pekka Paalanen (1):<br>
protocol: define error codes for role reassignment<br>
<br>
protocol/wayland.xml | 22 +++++++++++++++++++---<br>
1 file changed, 19 insertions(+), 3 deletions(-)<br>
<br>
Pekka Paalanen (3):<br>
protocol: add role error code to xdg_shell<br>
compositor: send error for surface role resets<br>
tests: add role conflict sub-surface vs. wl_shell_surface<br>
<br>
Makefile.am | 5 ++<br>
desktop-shell/shell.c | 38 ++++---------<br>
protocol/xdg-shell.xml | 9 +++<br>
src/compositor.c | 33 +++++++++--<br>
src/compositor.h | 15 +++++<br>
src/data-device.c | 11 ++--<br>
src/input.c | 11 ++--<br>
tests/roles-test.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++<br>
xwayland/window-manager.c | 7 +++<br>
9 files changed, 222 insertions(+), 46 deletions(-)<br>
create mode 100644 tests/roles-test.c<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.8.5.5<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div>