[PATCH 1/2] server: Split out varargs version of wl_resource_post_error.

2018-11-19 Thread Christopher James Halse Rogers
This will allow other wrappers around wl_resource_post_error to accept variable argument lists. Signed-off-by: Christopher James Halse Rogers Acked-by: Pekka Paalanen --- src/wayland-server.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/src/wayla

[PATCH 2/2] proto, server: Add internal server error message. (v2)

2018-11-19 Thread Christopher James Halse Rogers
Many languages such as C++ or Rust have an unwinding error-reporting mechanism. Code in these languages can (and must!) wrap request handling callbacks in unwind guards to avoid undefined behaviour. As a consequence such code will detect internal server errors, but have no way to communicate such

[PATCH] Add server implementation error

2018-11-19 Thread Christopher James Halse Rogers
Resurrecting this from the depths of my email. I think almost 12 months is long enough to assume no-one else is going to try and paint this particular bikeshed! ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop

Re: [PATCH RFC wayland-protocols] Add secure output protocol

2018-11-19 Thread Nautiyal, Ankit K
On 11/19/2018 12:51 PM, Simon Ser wrote: On Monday, November 19, 2018 4:21 AM, wrote: From: Scott Anderson This protocol allows a client to ask the compositor to only allow it to be displayed on a "secure" output (e.g. HDCP). This is based on a chromium protocol of the same name [1]. This