Re: [PATCH libinput] FreeBSD portability fixes

2017-11-30 Thread Peter Hutterer
On Thu, Nov 23, 2017 at 09:15:27PM +0300, Greg V wrote: > - some items in meson were missing a dependency on udev > - libdl does not exist on FreeBSD, dlopen is in libc > - no linux/types.h on FreeBSD > - stdarg.h included when variadic functions are used > - and other fixes > --- > include/linux/

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

2017-11-30 Thread Matt Hoosier
Hi Jonas (and Pekka), How well does v4 address your requests? -Matt On Mon, Nov 27, 2017 at 9:00 AM, Matt Hoosier wrote: > On Mon, Nov 27, 2017 at 3:16 AM, Pekka Paalanen wrote: >> On Sat, 25 Nov 2017 08:11:43 -0600 >> Matt Hoosier wrote: >> >>> Hi Jonas, Pekka, >>> >>> I have no objection to

Re: [PATCH weston 2/2] clients/editor: Toggle panel visibility on click

2017-11-30 Thread Pekka Paalanen
On Mon, 27 Nov 2017 10:32:01 -0600 Joshua Watt wrote: > On Sat, 2017-06-24 at 16:03 -0500, Joshua Watt wrote: > > If the --click-to-show option is specified, clicking an input field > > will toggle > > the input panel visiblity > > > > Signed-off-by: Joshua Watt > > --- > > clients/editor.c |

Re: [systemd-devel] [PATCH weston] doc/systemd: system service example

2017-11-30 Thread Pekka Paalanen
On Thu, 30 Nov 2017 13:29:22 +0100 Lennart Poettering wrote: > On Do, 30.11.17 12:09, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > > Hmm, what is this about? > > > > > > This is racy, as the session ID is not really reliably predictable, > > > and is synthesized in different contexts in di

Re: [systemd-devel] [PATCH weston] doc/systemd: system service example

2017-11-30 Thread Lennart Poettering
On Do, 30.11.17 11:16, Martyn Welch (martyn.we...@collabora.co.uk) wrote: > Debugging suggested that XDG_RUNTIME_DIR was not being created when it > failed. There are 2 processes setting a PAMName, the failing Weston > service and the user@.service (IIRC this gets called as part of user > session

Re: [systemd-devel] [PATCH weston] doc/systemd: system service example

2017-11-30 Thread Lennart Poettering
On Do, 30.11.17 12:09, Pekka Paalanen (ppaala...@gmail.com) wrote: > > Hmm, what is this about? > > > > This is racy, as the session ID is not really reliably predictable, > > and is synthesized in different contexts in different ways, for > > example depnding on whether audit is enabled in the k

Re: [systemd-devel] [PATCH weston] doc/systemd: system service example

2017-11-30 Thread Lennart Poettering
On Di, 28.11.17 12:14, Pekka Paalanen (ppaala...@gmail.com) wrote: > + > +[Unit] > +Description=Weston, a Wayland compositor, as a system service > +Documentation=man:weston(1) man:weston.ini(5) > +Documentation=http://wayland.freedesktop.org/ > + > +# Make sure we are started after logins are per

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Robert Mader
Hej Pekka, On 30.11.2017 10:44, Pekka Paalanen wrote: >> My point being solely that Xwayland should not decide to come up with >> and force fake modes all by itself if the compositor doesn't know how >> to deal with those. I totally support this. Anyway we should make sure mutter lists the most

Re: [systemd-devel] [PATCH weston] doc/systemd: system service example

2017-11-30 Thread Martyn Welch
On Thu, 2017-11-30 at 12:09 +0200, Pekka Paalanen wrote: > On Wed, 29 Nov 2017 19:05:07 +0100 > Lennart Poettering wrote: > > > On Di, 28.11.17 12:14, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > > > + > > > +[Unit] > > > +Description=Weston, a Wayland compositor, as a system service > > >

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

2017-11-30 Thread Alexandros Frantzis
On Thu, Nov 30, 2017 at 04:08:06PM +1000, Peter Hutterer wrote: > On Wed, Nov 29, 2017 at 12:42:57PM +0200, Alexandros Frantzis wrote: > > wl_pointer, wl_keyboard and wl_touch events currently use a 32-bit > > timestamp with millisecond resolution. In some cases, notably latency > > measurements, t

Re: [systemd-devel] [PATCH weston] doc/systemd: system service example

2017-11-30 Thread Pekka Paalanen
On Wed, 29 Nov 2017 19:05:07 +0100 Lennart Poettering wrote: > On Di, 28.11.17 12:14, Pekka Paalanen (ppaala...@gmail.com) wrote: > > > + > > +[Unit] > > +Description=Weston, a Wayland compositor, as a system service > > +Documentation=man:weston(1) man:weston.ini(5) > > +Documentation=http://wa

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Pekka Paalanen
On Thu, 30 Nov 2017 04:14:08 -0500 (EST) Olivier Fourdan wrote: > Hi Pekka, > > > > [...] > > > > > > Basically, in downstream RH bug 1289714 [1], Robert Mader (cc'ed) is > > > running some proof of concept to see how he can improve the support > > > for older games in Xwayland. > > > > Ooh,

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Olivier Fourdan
Hey, > > Say, xwl_screen size is 1600x1200, RandR "sets" 800x600, and suddenly > > all Xwayland wl_surfaces start using wp_viewport to set 2x up-scaling? > > I.e. X11 window size that is 800x600 will produce a 800x600 wl_buffer, > > but wp_viewport makes the wl_surface 1600x1200. I think visually

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Olivier Fourdan
Hi Pekka, > > [...] > > > > Basically, in downstream RH bug 1289714 [1], Robert Mader (cc'ed) is > > running some proof of concept to see how he can improve the support > > for older games in Xwayland. > > Ooh, exciting! I had a quick glimpse through the thread. > > > So this patch here is most

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Pekka Paalanen
On Wed, 29 Nov 2017 10:18:47 -0500 (EST) Olivier Fourdan wrote: > Hi Pekka, > > > do you also plan to let Xwayland change the mode? If not, what's the > > benefit of this? > > Yeah, sorry, I didn't give all the details on why this RFC patch, my bad. > > Basically, in downstream RH bug 128971

[PATCH libinput 2/2] meson: Fix bindir usage in install script

2017-11-30 Thread Quentin Glidic
From: Quentin Glidic Since the install script cannot know the correct bindir, just pass it from Meson directly. Signed-off-by: Quentin Glidic --- meson.build | 3 ++- tools/install-compat-scripts.sh | 10 -- 2 files changed, 6 insertions(+), 7 deletions(-) diff --

[PATCH libinput 1/2] meson: Fix absolute libdir case in install script

2017-11-30 Thread Quentin Glidic
From: Quentin Glidic If libdir is an absolute path (which means it’s outside of prefix) we would wrongly add the prefix to it in the install script. Just pass the correct libdir from Meson directly thanks to join_paths() magic. Signed-off-by: Quentin Glidic --- Just found this one while doing p