Re: [PATCH weston 2/2] input: Update to-be-restored focus when unfocused

2018-08-15 Thread Peter Hutterer
On Fri, Aug 10, 2018 at 12:55:42PM -0500, Derek Foreman wrote: > On 2018-08-02 03:32 AM, Quentin Glidic wrote: > > On 8/2/18 10:29 AM, Quentin Glidic wrote: > >> From: Quentin Glidic > >> > >> If we start a special (grabbing) client when Weston is unfocused, it > >> would lose focus when coming ba

[PATCH] cursor: use memfd_create or shm_open for anonymous in-memory files

2018-08-15 Thread Simon Ser
On Linux, try using memfd_create and file sealing. Fallback to shm_open on old kernels. On FreeBSD, use shm_open with SHM_ANON. Otherwise, use shm_open with a random name, making sure the name isn't already taken. Signed-off-by: Simon Ser --- Makefile.am | 2 +- configure.ac