Re: State of Wayland protocol development

2015-10-14 Thread Jonas Ådahl
On Thu, Oct 15, 2015 at 02:44:15PM +1000, Peter Hutterer wrote: > > one remaining question I have though: what are we to do with changes to the > wayland protocol itself, e.g. the pointer axis changes. There are a few that > cannot be easily added as separate interface, do we bite the bullet th

Xwayland location

2015-10-14 Thread Bill Spitzak
It seems like /usr/bin/Xwayland is hard-coded into xwayland.so. This makes it not run local installed versions of Xwayland. I could not get X programs to work under wayland without doing "sudo ln -s ~/install/bin/Xwayland /usr/bin". I noticed this because I had no /usr/bin/Xwayland, but I am c

Re: State of Wayland protocol development

2015-10-14 Thread Peter Hutterer
On Fri, Oct 09, 2015 at 02:41:31PM +0800, Jonas Ådahl wrote: > Hi again, > > I implemented one of the brought up ideas to see how it'd work. > More specifically, I created a repository called "wayland-protocols"[0] > and adapted weston[1] to use it for the fullscreen shell. I also added > pointer

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-14 Thread Jonas Ådahl
On Thu, Oct 08, 2015 at 12:15:10PM -0500, Derek Foreman wrote: > > But if it's a 1000hz gaming mouse the compositor will generate 1000 > events per second for the client to discard? > > Why not just allow the pointer to be bound as either/both serial and > absolute, and have each be a fully funct

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-14 Thread Jonas Ådahl
On Thu, Oct 08, 2015 at 12:15:10PM -0500, Derek Foreman wrote: > On 07/10/15 07:41 PM, Jonas Ådahl wrote: > > On Wed, Oct 07, 2015 at 01:32:35PM -0500, Derek Foreman wrote: > >> On 29/07/15 01:39 AM, Jonas Ådahl wrote: > >>> A wl_relative_pointer object is an extension to the wl_pointer interface >

Re: [PATCH] configure: Up the libwayland version requirement

2015-10-14 Thread Derek Foreman
On 14/10/15 05:40 PM, Bryce Harrington wrote: > weston commit f7bb9352 requires recent libwayland changes for providing > ‘WL_POINTER_RELEASE_SINCE_VERSION’. Increase the version requirement to > indicate that current weston git requires development version of > wayland. > > NOTE: At release we s

Re: [PATCH] screenshooter: correct output ordering of screencast recording when Y-flip is off

2015-10-14 Thread Bryce Harrington
On Sun, Oct 04, 2015 at 05:39:43PM +0300, Giulio Camuffo wrote: > 2015-07-07 13:06 GMT+03:00 Tomohito Esaki : > > The screenshooter encoder wrote the output from either top-to-bottom or > > bottom-to-top, depending on the Y-flip setting, but wcap-decode only > > decodes from bottom-to-top. Make the

Re: [PATCH v2 wayland] protocol: add wl_pointer.axis_frame events

2015-10-14 Thread Bryce Harrington
Peter sounds like this patch is close to being ready to land. Mind doing a reroll of the two patches (or squash them as Jonas suggests)? Bryce On Mon, Jul 13, 2015 at 03:21:21PM +0800, Jonas Ådahl wrote: > On Mon, Jul 13, 2015 at 04:01:20PM +1000, Peter Hutterer wrote: > > On Sun, Jul 12, 2015 a

Re: [PATCH weston 1/4] input: Split get_udev_seat() into its own function

2015-10-14 Thread Bryce Harrington
On Wed, Sep 30, 2015 at 10:43:57AM +0800, Jonas Ådahl wrote: > On Tue, May 05, 2015 at 03:01:51PM -0500, Derek Foreman wrote: > > We're going to need this on device removal in the future, so pull it out > > into a separate function now. > > > > Signed-off-by: Derek Foreman > > Reviewed-by: Jonas

[PATCH] configure: Up the libwayland version requirement

2015-10-14 Thread Bryce Harrington
weston commit f7bb9352 requires recent libwayland changes for providing ‘WL_POINTER_RELEASE_SINCE_VERSION’. Increase the version requirement to indicate that current weston git requires development version of wayland. NOTE: At release we should probably increase the wayland requirement for weston

Re: [PATCH weston] tests: Adding simple waycheck validation tool.

2015-10-14 Thread Bryce Harrington
On Wed, Oct 14, 2015 at 04:17:53PM +0300, Pekka Paalanen wrote: > On Wed, 7 Oct 2015 16:11:43 -0700 > "Jon A. Cruz" wrote: > > > Adds an initial implementation of a testing tool that uses the unit > > test framework to run checks against an arbitrary Wayland compositor. > > Note that this is not

Re: [PATCH weston] clients: track seat_version per seat, not per display

2015-10-14 Thread Hardening
Le 14/10/2015 16:39, Derek Foreman a écrit : > Apparently it's possible for a compositor to advertise seats with > different versions on the same connection, so this makes us more robust > against that dubious behaviour. > > This also tracks the seat version we requested instead of the advertised

xdg_surface_move Segmentation fault (core dumped)

2015-10-14 Thread Vinicio Cordero
Hello, I am making a simple wayland client using the simple-shm, simple-egl and fullscreen as a guide; while the surface is displayed and updated correctly on weston attempting to move the surface on pointer move event by calling xdg_surface_move will sometimes(almost always, sometimes the surface

Re: Enums, bitfields and wl_arrays

2015-10-14 Thread Nils Chr. Brause
Hi, On Wed, Oct 14, 2015 at 10:25 AM, Pekka Paalanen wrote: > On Tue, 13 Oct 2015 20:27:58 +0100 > Auke Booij wrote: > >> On 13 October 2015 at 16:19, Solerman Kaplon wrote: >> > Em 13-10-2015 11:35, Nils Chr. Brause escreveu: >> >> >> >> In C++ the order doesn't matter either, since each entry

[PATCH weston] clients: track seat_version per seat, not per display

2015-10-14 Thread Derek Foreman
Apparently it's possible for a compositor to advertise seats with different versions on the same connection, so this makes us more robust against that dubious behaviour. This also tracks the seat version we requested instead of the advertised maximum. Signed-off-by: Derek Foreman --- As penance

Re: [PATCH weston 3/4] compositor-wayland: Properly release input resources when caps change

2015-10-14 Thread Derek Foreman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/10/15 03:58 AM, Pekka Paalanen wrote: > On Fri, 9 Oct 2015 11:28:45 -0500 Derek Foreman > wrote: > >> We should use wl_*_release when available instead of destroy, and >> we should update weston's internal input tracking with >> weston_seat_re

Re: [PATCH weston] tests: Adding simple waycheck validation tool.

2015-10-14 Thread Pekka Paalanen
On Wed, 7 Oct 2015 16:11:43 -0700 "Jon A. Cruz" wrote: > Adds an initial implementation of a testing tool that uses the unit > test framework to run checks against an arbitrary Wayland compositor. > Note that this is not intended for Weston-specific testing, but for > generic Wayland testing. >

Re: [PATCH wayland] scanner: server-side also emit SINCE macros for requests

2015-10-14 Thread Jonas Ådahl
On Wed, Oct 14, 2015 at 12:36:46PM +0300, Pekka Paalanen wrote: > On Wed, 14 Oct 2015 17:05:43 +0800 > Jonas Ådahl wrote: > > > On Wed, Oct 14, 2015 at 11:52:36AM +0300, Pekka Paalanen wrote: > > > On Wed, 14 Oct 2015 10:32:36 +0300 > > > Giulio Camuffo wrote: > > > > > > > 2015-10-14 4:06 GMT+

Re: [PATCH wayland] scanner: server-side also emit SINCE macros for requests

2015-10-14 Thread Pekka Paalanen
On Wed, 14 Oct 2015 17:05:43 +0800 Jonas Ådahl wrote: > On Wed, Oct 14, 2015 at 11:52:36AM +0300, Pekka Paalanen wrote: > > On Wed, 14 Oct 2015 10:32:36 +0300 > > Giulio Camuffo wrote: > > > > > 2015-10-14 4:06 GMT+03:00 Jonas Ådahl : > > > > On Tue, Oct 13, 2015 at 04:18:19PM -0700, Bryce Harr

Re: [PATCH wayland] scanner: server-side also emit SINCE macros for requests

2015-10-14 Thread Jonas Ådahl
On Wed, Oct 14, 2015 at 11:52:36AM +0300, Pekka Paalanen wrote: > On Wed, 14 Oct 2015 10:32:36 +0300 > Giulio Camuffo wrote: > > > 2015-10-14 4:06 GMT+03:00 Jonas Ådahl : > > > On Tue, Oct 13, 2015 at 04:18:19PM -0700, Bryce Harrington wrote: > > >> On Fri, Oct 09, 2015 at 10:07:48PM +0200, David

Re: [PATCH weston 3/4] compositor-wayland: Properly release input resources when caps change

2015-10-14 Thread Pekka Paalanen
On Fri, 9 Oct 2015 11:28:45 -0500 Derek Foreman wrote: > We should use wl_*_release when available instead of destroy, and we > should update weston's internal input tracking with weston_seat_releases > > Signed-off-by: Derek Foreman > --- > src/compositor-wayland.c | 15 +-- > 1

Re: [PATCH wayland] scanner: server-side also emit SINCE macros for requests

2015-10-14 Thread Pekka Paalanen
On Wed, 14 Oct 2015 10:32:36 +0300 Giulio Camuffo wrote: > 2015-10-14 4:06 GMT+03:00 Jonas Ådahl : > > On Tue, Oct 13, 2015 at 04:18:19PM -0700, Bryce Harrington wrote: > >> On Fri, Oct 09, 2015 at 10:07:48PM +0200, David FORT wrote: > >> > Server-side we need to know the versions for destructor

Re: Enums, bitfields and wl_arrays

2015-10-14 Thread Pekka Paalanen
On Tue, 13 Oct 2015 20:27:58 +0100 Auke Booij wrote: > On 13 October 2015 at 16:19, Solerman Kaplon wrote: > > Em 13-10-2015 11:35, Nils Chr. Brause escreveu: > >> > >> In C++ the order doesn't matter either, since each entry has a defined > >> value. I wonder why this is different in Java? > I

Re: Enums, bitfields and wl_arrays

2015-10-14 Thread Pekka Paalanen
On Tue, 13 Oct 2015 10:19:43 -0700 Bill Spitzak wrote: > On 10/13/2015 08:18 AM, Erik De Rijcke wrote: > > > Because Java is not C/C++. In Java, enum values are unique by instance > > alone. It does not have user 'defined' value(s) that make it unique. It > > *can* have user defined properties (

Re: [PATCH wayland] scanner: server-side also emit SINCE macros for requests

2015-10-14 Thread Giulio Camuffo
2015-10-14 4:06 GMT+03:00 Jonas Ådahl : > On Tue, Oct 13, 2015 at 04:18:19PM -0700, Bryce Harrington wrote: >> On Fri, Oct 09, 2015 at 10:07:48PM +0200, David FORT wrote: >> > Server-side we need to know the versions for destructor requests. >> > >> > Signed-off-by: David FORT >> >> Reviewed-by: B