Re: [PATCH weston 2/7] xwayland: add set_toplevel_with_position to internal API

2016-11-30 Thread Pekka Paalanen
On Tue, 29 Nov 2016 20:23:29 +0100 Quentin Glidic wrote: > On 29/11/2016 16:11, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > Add a new entry to the internal interface between the xwayland plugin > > and libweston-desktop (or any other desktop protocol implementation). > > The new entry

Re: [PATCH weston 0/7] Initial Xwayland window positioning

2016-11-30 Thread Pekka Paalanen
On Tue, 29 Nov 2016 20:23:07 +0100 Quentin Glidic wrote: > On 29/11/2016 16:11, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > Many old X11 applications provide -geometry command line option that can be > > used to initially position the window. Some obscure applications even rely > > o

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 01:02:13 + Emil Velikov wrote: > On 29 November 2016 at 20:50, Daniel Stone wrote: > > Hey Emil, > > > > On 29 November 2016 at 20:41, Emil Velikov > > wrote: > >> My voice doesn't carry much weight on wayland-devel still I think it > >> will bring some nice food for

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi Jan, On 29 November 2016 at 21:42, Jan Engelhardt wrote: > On Tuesday 2016-11-29 17:59, Daniel Stone wrote: >>This patchset provides a working port to Meson, a Python-based build >>system with a Ninja backend. > > Do you have this available in a convenient-to-download git repo > somewhere? I

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi Pekka, On 30 November 2016 at 08:54, Pekka Paalanen wrote: > On Wed, 30 Nov 2016 01:02:13 + Emil Velikov > wrote: >> As we build (simple `make') binaries are linked against the in-tree >> DSO(s). Upon `make install' autotools/libtool relinks each binary. The >> latter of which can be qui

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Jan Engelhardt
On Wednesday 2016-11-30 09:54, Pekka Paalanen wrote: >I'm looking forward to hearing your war stories on trying to beat sense >into autotools. I would never dare even approach it. Maybe it's FUD you >can show to be false, but I kind of doubt it. > >One huge convenience of Meson is (the documentati

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 09:21:29 + Daniel Stone wrote: > Hi Pekka, > > On 30 November 2016 at 08:54, Pekka Paalanen wrote: > > On Wed, 30 Nov 2016 01:02:13 + Emil Velikov > > wrote: > >> As we build (simple `make') binaries are linked against the in-tree > >> DSO(s). Upon `make install'

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hey Emil, Thanks for the detailed reply! :) It's really interesting to hear your perspective, especially with Mesa also using SCons. On 30 November 2016 at 01:02, Emil Velikov wrote: > On 29 November 2016 at 20:50, Daniel Stone wrote: >>> As you know better than me the actual speed increase isn'

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 10:54:11 +0100 (CET) Jan Engelhardt wrote: > That is where modern build systems could improve on. But instead they > throw *everything* overboard, even though Makefile.am is reusable: > minus custom rules, it is just a set of key-value pairs and > lazy-evaluated variables. Hi

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 10:00:40 + Daniel Stone wrote: > Hey Emil, > Thanks for the detailed reply! :) It's really interesting to hear your > perspective, especially with Mesa also using SCons. > > On 30 November 2016 at 01:02, Emil Velikov wrote: > > Please don't get me wrong, autohell^Wautot

Re: [PATCH weston] tests: Skip Xwayland test if binary isn't available

2016-11-30 Thread Daniel Stone
Hey, On 30 November 2016 at 06:05, Peter Hutterer wrote: > On Tue, Nov 29, 2016 at 11:06:15AM +, Daniel Stone wrote: >> -xwayland_test_weston_CFLAGS = $(AM_CFLAGS) $(XWAYLAND_TEST_CFLAGS) >> +xwayland_test_weston_CFLAGS = \ >> + $(AM_CFLAGS) $(XWAYLAND_TEST_CFLAGS) -DXSERVER_PATH='"@XSERV

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi, On 30 November 2016 at 10:28, Pekka Paalanen wrote: > On Wed, 30 Nov 2016 10:00:40 + Daniel Stone wrote: >> Yeah, generally I agree. That was my point about GNOME/GStreamer also >> being conservative with build systems: neither of us have jumped over >> to any new and fancy build systems

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Silvan Jegen
Hi On Wed, Nov 30, 2016 at 11:00 AM, Daniel Stone wrote: > Hey Emil, > Thanks for the detailed reply! :) It's really interesting to hear your > perspective, especially with Mesa also using SCons. > > On 30 November 2016 at 01:02, Emil Velikov wrote: >> On 29 November 2016 at 20:50, Daniel Stone

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi Silvan, On 30 November 2016 at 10:51, Silvan Jegen wrote: > On Wed, Nov 30, 2016 at 11:00 AM, Daniel Stone wrote: >> Ha, this isn't Skylake laptop vs. Broadwell laptop, this is my 14-core >> Xeon vs. your Broadwell laptop! That they're so different suggests >> that our configuration is pretty

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Silvan Jegen
On Wed, Nov 30, 2016 at 11:58 AM, Daniel Stone wrote: > Hi Silvan, > > On 30 November 2016 at 10:51, Silvan Jegen wrote: >> On Wed, Nov 30, 2016 at 11:00 AM, Daniel Stone wrote: >>> Ha, this isn't Skylake laptop vs. Broadwell laptop, this is my 14-core >>> Xeon vs. your Broadwell laptop! That th

Re: [PATCH] xdg-shell: clarify popup constrain's slide mechanism

2016-11-30 Thread Mike Blumenkrantz
On Wed, 23 Nov 2016 12:05:12 -0800 Bill Spitzak wrote: > Much better to just say one of the "constraints" is that the child > must touch the parent. > > The specified api, despite attempts to prevent it, still allows > starting positions that don't touch the parent (this can be achieved > by usi

[PATCH weston] window: Check for NULL surface in keyboard_handle_enter

2016-11-30 Thread Dima Ryazanov
This can happen if you right-click in weston-terminal a few times very quickly. The pointer_handle_enter callback already checks for NULL, so let's do that in keyboard_handle_enter, too. Signed-off-by: Dima Ryazanov --- clients/window.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cl

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Kristian Høgsberg
Hi Daniel, Thanks for doing this! I share a lot of the same background - I've worked with autotools for many years, know them well and have also been hesitant to move away. I've recently ported a small personal project from autotools to meson and I found it very nice and easy to work with. It fee

[PATCH libinput 1/4] Use the LIBINPUT_VERSION define, not the normal VERSION

2016-11-30 Thread Peter Hutterer
Not that it really matters, but given we're already setting it anyway... Signed-off-by: Peter Hutterer --- src/libinput-private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libinput-private.h b/src/libinput-private.h index 52f129a..60685b5 100644 --- a/src/libinput

[PATCH libinput 2/4] tools: don't define GNU_SOURCE if were including config.h anyway

2016-11-30 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- tools/event-gui.c | 1 - tools/shared.c| 1 - 2 files changed, 2 deletions(-) diff --git a/tools/event-gui.c b/tools/event-gui.c index b5dd097..36be874 100644 --- a/tools/event-gui.c +++ b/tools/event-gui.c @@ -20,7 +20,6 @@ * FROM, OUT OF OR IN CONNECTION

[PATCH libinput 3/4] Drop HAVE_CONFIG_H ifdef

2016-11-30 Thread Peter Hutterer
We have one. Yay. Lucky us. Go forth and celebrate. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-tap.c| 2 -- test/litest-device-alps-dualpoint.c| 2 -- test/litest-device-alps-semi-mt.c | 2 -- test/litest-device-anker-mouse-kbd.c

[PATCH libinput 4/4] Fix the license for a bunch of tablet test devices

2016-11-30 Thread Peter Hutterer
In bc9f16b40e23a1d25c105a4207b97d65253f0d98 the license was updated from MIT X11 to MIT Expat, see that commit for details. These devices came in from the tablet-support branch which didn't get updated, any new tablet device that used those as templated thus copied the license. Fix this, make the

Re: Proposal to add 'raise' and 'lower' to xdg-shell in wayland-protocols

2016-11-30 Thread Jonas Ådahl
On Wed, Nov 30, 2016 at 12:04:33PM -0500, Adam Goode wrote: > Hi, > > See https://bugzilla.redhat.com/show_bug.cgi?id=1349225 and > https://bugzilla.gnome.org/show_bug.cgi?id=767967 > > When using Client Side Decorations, toolkits cannot bind raise or lower to > user actions. This binding is trad

Re: Proposal to add 'raise' and 'lower' to xdg-shell in wayland-protocols

2016-11-30 Thread Olivier Fourdan
Hi, - Original Message - > On Wed, Nov 30, 2016 at 12:17 PM, Bill Spitzak < spit...@gmail.com > wrote: > > > > My preferred solution to this: > > > > Click in the titlebar should be sent back from the client to the > > compositor as a wl_shell_surface::move (or ::resize) request. The > >