Re: [PATCH] server: add wl_display_destroy_clients

2017-12-13 Thread Pekka Paalanen
On Mon, 11 Dec 2017 22:56:32 +0100 emersion wrote: > wl_display_destroy doesn't destroy clients, so client socket file > descriptors are being kept open until the compositor process exits. > > To maintain ABI compatibility, we cannot destroy clients in > wl_display_destroy.

Re: [PATCH v2] configure.ac: use AC_HEADER_MAJOR to detect major()/minor()

2017-12-13 Thread Emil Velikov
On 13 December 2017 at 07:58, Pekka Paalanen wrote: > On Tue, 12 Dec 2017 15:41:52 + > Emil Velikov wrote: > >> On 12 December 2017 at 08:28, Pekka Paalanen wrote: >> > On Mon, 11 Dec 2017 16:16:47 +0200 >> > Pekka Paalanen

Re: [PATCH v2] server: add wl_display_destroy_clients()

2017-12-13 Thread Pekka Paalanen
On Wed, 13 Dec 2017 11:51:19 +0100 emersion wrote: > Bug [1] reported that wl_display_destroy() doesn't destroy clients, so > client socket file descriptors are being kept open until the compositor > process exits. > > Patch [2] proposed to destroy clients in

[PATCH weston v2 3/6] tests: Add checks for pointer motion and button event timestamps

2017-12-13 Thread Alexandros Frantzis
Enhance the existing pointer motion and button event tests to additionally verify the event timestamps. This requires updating the weston-test protocol to support passing motion and button event timestamps. Signed-off-by: Alexandros Frantzis --- Changes in v2:

[PATCH weston v2 0/6] tests: Add input event timestamp tests

2017-12-13 Thread Alexandros Frantzis
This patchset enhances the test suite with test cases that verify that the server correctly sets input event timestamps. In the process the input tests have been reorganized and cleaned up to make it easier to support the new test cases. A secondary goal of this patchset is to prepare the test

[PATCH weston v2 1/6] shared: Add timespec_from_proto helper function

2017-12-13 Thread Alexandros Frantzis
Add helper function to convert tv_sec_hi, tv_sec_lo, tv_nsec triplets, used for sending high-resolution timestamp data over the wayland protocol, to struct timespec values. Replace existing conversion code with the helper function. Signed-off-by: Alexandros Frantzis

[PATCH weston v2 4/6] tests: Add test for pointer axis events

2017-12-13 Thread Alexandros Frantzis
Add test to verify the server correctly emits pointer axis events. This requires updating the weston-test protocol with a new request for pointer axis events. Signed-off-by: Alexandros Frantzis --- Changes in v2: - Add unit suffix "msec" to variables that

[PATCH weston v2 2/6] shared: Add timespec_to_proto helper function

2017-12-13 Thread Alexandros Frantzis
Add helper function to convert from struct timespec values to tv_sec_hi, tv_sec_lo, tv_nsec triplets used for sending high-resolution timestamp data over the wayland protocol. Replace existing conversion code with the helper function. Signed-off-by: Alexandros Frantzis

[PATCH weston v2 5/6] tests: Add test for keyboard key event timestamps

2017-12-13 Thread Alexandros Frantzis
Add test to verify that the server correctly sets the timestamps of keyboard key events. This requires updating the weston-test protocol to support passing key event timestamps. simple_keyboard_test now uses the create_client_with_keyboard_focus() helper function which changes the initial state

[PATCH v2] server: add wl_display_destroy_clients()

2017-12-13 Thread emersion
Bug [1] reported that wl_display_destroy() doesn't destroy clients, so client socket file descriptors are being kept open until the compositor process exits. Patch [2] proposed to destroy clients in wl_display_destroy(). The patch was not accepted because doing so changes the ABI. Thus, a new

[PATCH weston v2 6/6] tests: Add test for touch event timestamps

2017-12-13 Thread Alexandros Frantzis
Add test to verify that the server correctly sets the timestamps of touch events. This requires updating the weston-test protocol with a new request for touch events. Signed-off-by: Alexandros Frantzis --- Changes in v2: - Add unit suffix "msec" to variables

Re: [PATCH v2] server: add wl_display_destroy_clients()

2017-12-13 Thread Simon Ser
> Original Message >Subject: Re: [PATCH v2] server: add wl_display_destroy_clients() >Local Time: December 13, 2017 1:39 PM >UTC Time: December 13, 2017 12:39 PM >From: ppaala...@gmail.com >To: Simon Ser >wayland-devel@lists.freedesktop.org

Re: [PATCH wayland-protocols] unstable: Add input-timestamps protocol

2017-12-13 Thread Alexandros Frantzis
On Mon, Dec 11, 2017 at 03:25:28PM +0200, Pekka Paalanen wrote: > On Tue, 5 Dec 2017 18:07:02 +0200 > Alexandros Frantzis wrote: > > > wl_pointer, wl_keyboard and wl_touch events currently use a 32-bit > > timestamp with millisecond resolution. In some cases,

Re: [PATCH v2] server: add wl_display_destroy_clients()

2017-12-13 Thread Simon Ser
> Original Message >Subject: Re: [PATCH v2] server: add wl_display_destroy_clients() >Local Time: December 13, 2017 12:11 PM >UTC Time: December 13, 2017 11:11 AM >From: ppaala...@gmail.com >To: emersion >wayland-devel@lists.freedesktop.org > >On Wed, 13 Dec

Re: [PATCH v4 wayland] client: Allow absolute paths in WAYLAND_DISPLAY

2017-12-13 Thread Matt Hoosier
On Mon, Dec 11, 2017 at 2:03 AM, Pekka Paalanen wrote: > On Mon, 27 Nov 2017 08:54:54 -0600 > Matt Hoosier wrote: > >> From: Matt Hoosier >> >> In order to support system compositor instances, it is necessary to >> allow

Re: [PATCH wayland v2 0/8] Import wayland-egl frontend library

2017-12-13 Thread Emil Velikov
On 12 December 2017 at 20:48, Arnaud Vrac wrote: > Hi Emil, > > On Tue, Oct 10, 2017 at 3:43 PM, Emil Velikov > wrote: >> Hi all, >> >> Here is a retake of the RFC as originally seen here [1]. >> >> In summary - we want the user facing library to live

[ANNOUNCE] libinput 1.9.4

2017-12-13 Thread Peter Hutterer
libinput 1.9.4 is now available. This fixes a regression introduced in 1.9.3 where some key events got lost or arrived out-of-order. Two separate sources for the bugs, one is kernel drivers (and uinput applications) misbehaving in regards to the evdev protocol and not sending out SYN_REPORT

Weston stuff: fractional HiDPI, FreeBSD, Rust

2017-12-13 Thread Greg V
Hi everyone! I've been hacking around, trying to make Weston more usable for myself… So far I've done: - FreeBSD support: https://github.com/myfreeweb/weston/commit/5827840c8 2b9d0a302d5c54c514ca6f4238e12de - memfd/anonymous shm in os_create_anonymous_file: https://github.com/m

Re: [PATCH wayland] wayland-egl: rename wl_egl_window::private to driver_private

2017-12-13 Thread Miguel Angel Vico Moya
Ship it! Reviewed-by: Miguel A Vico Moya -- Miguel On Wed, Dec 13, 2017 at 4:05 AM -0800, "Emil Velikov" > wrote: From: Emil Velikov private is a reserved keyword in C++. Thus if one is to have a backend

Re: [PATCH v2] server: add wl_display_destroy_clients()

2017-12-13 Thread Pekka Paalanen
On Wed, 13 Dec 2017 06:59:10 -0500 Simon Ser wrote: > > Original Message > >Subject: Re: [PATCH v2] server: add wl_display_destroy_clients() > >Local Time: December 13, 2017 12:11 PM > >UTC Time: December 13, 2017 11:11 AM > >From: ppaala...@gmail.com > >To: