[ANNOUNCE] libinput 1.10.2

2018-03-06 Thread Peter Hutterer
libinput 1.10.2 is now available. Three important fixes, all touchpad-related. The first set of patches fixes an assertion that triggered when the tapping code lost track of the finger count. This was triggered by palm detection, but only by specific event sequences. The second fix affects all t

[PATCH wayland] client: Don't inappropriatly close fds for zombie objects

2018-03-06 Thread Derek Foreman
commit 239ba39331420f953de35c337ae57db35573f9cb which was intended to stop leaking fds in events for zombie objects didn't notice that passing 0 to wl_connection_close_fds_in() would still close fds. Test the fd count before calling. Signed-off-by: Derek Foreman --- src/wayland-client.c | 2 +-

Re: [PATCH] xwm: Update input region on resize

2018-03-06 Thread Emmanuel Gil Peyrot
On Mon, Feb 19, 2018 at 12:18:51PM -0700, Scott Moreau wrote: > Commit 332d1892 introduced a bug because the window was > shaped only when the frame was created, leaving the input > region unchanged regardless if the window was resized. > This patch updates the input region shape on resize, > fixin

[RFC weston v2] libweston: Commit subsurfaces before committing root surface

2018-03-06 Thread Philipp Kerling
Committing the root surface triggers a commit of the xdg_surface state, which might require the subsurface state already being applied (e.g. when an xdg_toplevel needs to follow size constraints, the subsurfaces must be in the right position and size at the time this is verified). --- libweston/co

[RFC weston v2] Fix subsurface/xdg shell interaction

2018-03-06 Thread Philipp Kerling
Further investigating this issue, I found out that the subsurface size *does* get set to 0x0, but only after the root surface has been committed. This new patch commits the synchronized subsurface state before committing the root surface, fixing that problem. I hope it doesn't break anything else.

[PATCH] libweston/compositor: Place timeline recording after checking if stamp is valid

2018-03-06 Thread Marius Vlad
The timestamp could be either NULL if there's no mode set, or 0 when output gets awaken. It either crashes weston or we get vblanks at [0, 0] for that output. Signed-off-by: Marius Vlad CC: Pekka Paalanen --- libweston/compositor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) dif

Re: How shall we start weston under systemd?

2018-03-06 Thread Pekka Paalanen
On Tue, 6 Mar 2018 09:58:50 +0100 Adam Trhon wrote: > > On Fri, 23 Feb 2018 16:00:22 +0100 > > Adam Trhon wrote: > > > > > This used to work well, but after a systemd update a couple months ago > > > stopped working with: > > > > > > weston.service: Unit entered failed state. > > > west

Re: Weston refresh rate?

2018-03-06 Thread Marius-cristian Vlad
On Wed, 2018-02-28 at 16:24 +, Vanhauwaert Wouter wrote: > Hello all, > > I seem to have an issue, but don't really know what/who to address. > Whatever I try to run on my weston installation, I never seem to > exceed +- 40fps.  > That can also be seen by running the weston-simple-egl test. >

Re: How shall we start weston under systemd?

2018-03-06 Thread Adam Trhon
On Tue, 6 Mar 2018 10:15:53 +0200 Pekka Paalanen wrote: > On Fri, 23 Feb 2018 16:00:22 +0100 > Adam Trhon wrote: > > > Hello, > > > > I would like to ask about the preferred way (now and in the future) > > of starting Weston from systemd. > > > > In our devices we start it by a custom .servic

Re: How shall we start weston under systemd?

2018-03-06 Thread Pekka Paalanen
On Fri, 23 Feb 2018 16:00:22 +0100 Adam Trhon wrote: > Hello, > > I would like to ask about the preferred way (now and in the future) > of starting Weston from systemd. > > In our devices we start it by a custom .service file: > > [Unit] > Description=Weston Wayland Compositor (on tty7) >

Re: Weston refresh rate?

2018-03-06 Thread Pekka Paalanen
On Wed, 28 Feb 2018 16:24:58 + Vanhauwaert Wouter wrote: > Hello all, > > I seem to have an issue, but don't really know what/who to address. > Whatever I try to run on my weston installation, I never seem to exceed +- > 40fps.  > That can also be seen by running the weston-simple-egl test.

Re: [RFC weston] libweston: Do not include subsurfaces with NULL buffer in bounding box

2018-03-06 Thread Pekka Paalanen
On Mon, 05 Mar 2018 13:27:27 +0100 Philipp Kerling wrote: > Hi, > > thanks for resurrecting this :-) reply below > > 2017-12-04 (月) の 21:37 + に Daniel Stone さんは書きました: > > Hi Philipp, > > > > On 28 July 2017 at 15:41, Philipp Kerling wrote: > > > I was pondering how to remove the window