[PATCH] Don't look for weston.ini in the current working directory

2018-11-14 Thread Dima Ryazanov
It's a bit surprising that Weston looks different when launched from the root of the git repo vs from elsewhere. But it's also technically a security vulnerability: if I launch it from a directory like /tmp, it might pick up a weston.ini created by another user, which could then load modules with

[PATCH 2/3] Delete an unused variable

2018-11-14 Thread Dima Ryazanov
Signed-off-by: Dima Ryazanov --- clients/window.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/window.c b/clients/window.c index 1ab33545..470ac090 100644 --- a/clients/window.c +++ b/clients/window.c @@ -278,7 +278,6 @@ struct window { struct zwp_relative_pointer_v1 *r

[PATCH 3/3] A better fix for a crash when unlocking or unconfining a pointer

2018-11-14 Thread Dima Ryazanov
This is a rewrite of the fix in: https://lists.freedesktop.org/archives/wayland-devel/2018-May/038140.html It addresses Pekka's concerns about window getting destroyed before the unlock/unconfine event is triggered. Signed-off-by: Dima Ryazanov --- clients/window.c | 31

[PATCH 1/3] Revert "Fix a crash when unlocking or unconfining a pointer"

2018-11-14 Thread Dima Ryazanov
This reverts commit e0dc5d47cb5f29deec495efd958fcd5f6f833389. Signed-off-by: Dima Ryazanov --- clients/window.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/clients/window.c b/clients/window.c index 12939cb7..1ab33545 100644 --- a/clients/window.c

[PATCH wayland-protocols v3] Add alpha-compositing protocol

2018-11-14 Thread Scott Anderson
This protocol specifies a set of interfaces used to control the alpha compositing and blending of surface contents, based on the Chromium Wayland protocol of the same name [1]. Signed-off-by: Scott Anderson [1] https://chromium.googlesource.com/chromium/src/+/master/third_party/wayland-protocol

Re: question about xdg shell version

2018-11-14 Thread Pekka Paalanen
On Wed, 14 Nov 2018 23:00:21 +0800 zou lan wrote: > Hi pekka & all > > I find weston support many xdg shell versions in different weston versions, > as far as I know, > applications only use the genernal xdg shell interfaces to create a window, > for example, waylandsink. If the weston upgrade,

question about xdg shell version

2018-11-14 Thread zou lan
Hi pekka & all I find weston support many xdg shell versions in different weston versions, as far as I know, applications only use the genernal xdg shell interfaces to create a window, for example, waylandsink. If the weston upgrade, should the applications modify its xdg shell interface or are th

Re: [PATCH RFC wayland-protocols] unstable/linux-dmabuf: add wp_linux_dmabuf_device_hint

2018-11-14 Thread Pekka Paalanen
On Tue, 13 Nov 2018 18:19:29 + Simon Ser wrote: > > Hi Simon, > > > > On Fri, 2018-11-02 at 18:49 +, Simon Ser wrote: > > > On Friday, November 2, 2018 12:30 PM, Philipp Zabel > > > wrote: > > > > > > + > > > > > > + > > > > > > +This event advertizes the primary d

Re: [PATCH wayland-protocols v2] Add alpha-compositing protocol

2018-11-14 Thread Simon Ser
Hi Alexandros and Scott, Here are a few small comments. Overall this proposal looks good. > This protocol specifies a set of interfaces used to control the alpha > compositing and blending of surface contents. > > It's based on the Chromium Wayland protocol of the same name ([1]) and > an old pro