[PATCH wayland 0/4] Implement role conflict errors

Pekka Paalanen ppaalanen at gmail.com
Wed Oct 1 06:50:24 PDT 2014


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Hi,

this is my attempt on the wl_surface role conflict (trying
to change a surface role) error patches. Jasper's original
version is here:
http://lists.freedesktop.org/archives/wayland-devel/2014-August/016810.html
http://lists.freedesktop.org/archives/wayland-devel/2014-August/016811.html

The main differences are noted in the "compositor:" patch.


Thanks,
pq

Pekka Paalanen (1):
  protocol: define error codes for role reassignment

 protocol/wayland.xml | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

Pekka Paalanen (3):
  protocol: add role error code to xdg_shell
  compositor: send error for surface role resets
  tests: add role conflict sub-surface vs. wl_shell_surface

 Makefile.am               |   5 ++
 desktop-shell/shell.c     |  38 ++++---------
 protocol/xdg-shell.xml    |   9 +++
 src/compositor.c          |  33 +++++++++--
 src/compositor.h          |  15 +++++
 src/data-device.c         |  11 ++--
 src/input.c               |  11 ++--
 tests/roles-test.c        | 139 ++++++++++++++++++++++++++++++++++++++++++++++
 xwayland/window-manager.c |   7 +++
 9 files changed, 222 insertions(+), 46 deletions(-)
 create mode 100644 tests/roles-test.c

-- 
1.8.5.5



More information about the wayland-devel mailing list