Re: [PATCH libinput] tablet: use the tilt resolution if we have it

2016-02-22 Thread Peter Hutterer
On Mon, Feb 22, 2016 at 05:58:22PM -0800, Jason Gerecke wrote: > On 02/17/2016 05:39 PM, Peter Hutterer wrote: > > A nonzero resolution on the tilt axes is units/rad so we can calculate the > > physical min/max based. Uneven min/max ranges are supported. > > > > Signed-off-by: Peter Hutterer

[ANNOUNCE] libinput 1.2.0

2016-02-22 Thread Peter Hutterer
libinput 1.2 is now available. Nothing significant since rc2, below is an outline of changes since 1.1. The main feature merged since 1.1 is graphics tablet tool support. Devices tagged by udev as ID_INPUT_TABLET are handled by libinput now and exposed with the LIBINPUT_DEVICE_CAP_TABLET_TOOL

2016 Elections to the X.Org Board of Directors and Approval to Changes of the X.Org By Laws

2016-02-22 Thread Peter Hutterer
The X.Org Foundation is holding elections for - The Board of Directors - Adoption of changes to the By Laws. Election Schedule = Nomination period Start: Feb 24 00:00 UTC Nomination period End: Mar 15 23:59 UTC (3 weeks) Deadline of X.Org membership application

Re: [PATCH wayland] tests: add test for receiving an error on destroyed object

2016-02-22 Thread Jonas Ådahl
On Mon, Feb 22, 2016 at 02:37:00PM +0100, Marek Chalupa wrote: > test if receiving an error on already destroyed object won't > do any harm > > Signed-off-by: Marek Chalupa Reviewed-by: Jonas Ådahl > --- > tests/display-test.c | 50

Re: wayland-protocols versioning between releases

2016-02-22 Thread Jonas Ådahl
On Mon, Feb 22, 2016 at 02:08:10PM -0800, Bryce Harrington wrote: > On Mon, Feb 22, 2016 at 02:04:04PM +0200, Pekka Paalanen wrote: > > On Mon, 22 Feb 2016 19:10:37 +0800 > > Jonas Ådahl wrote: > > > > > On Mon, Feb 22, 2016 at 12:44:46PM +0200, Pekka Paalanen wrote: > > > > On

Re: [PATCH libinput] tablet: use the tilt resolution if we have it

2016-02-22 Thread Jason Gerecke
On 02/17/2016 05:39 PM, Peter Hutterer wrote: > A nonzero resolution on the tilt axes is units/rad so we can calculate the > physical min/max based. Uneven min/max ranges are supported. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 28

Re: desktop-shell: How to enable really alpha blending of weston background?

2016-02-22 Thread YoungJun Jo
Hello, Thanks for your reply. What i want is alpha blending for my chips. As i mentioned, My chips have four independent H/W overlays. For example, H/W Overlay 1 => Weston, Applications, etc.. H/W Overlay 2 => Video play. H/W Overlay 3 = > Empty. H/W Overlay 4 = > Empty. I also know that

Re: [PATCH] libinput-device: Remove unnecessary function call

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 08:47:24AM -0500, Chris Michael wrote: > When we handle keyboard key events, we already retrieve the key state > at the top of this function, so there is no real need to call the same > libinput function again as we can just reuse the 'key_state' variable > that we have

Re: [PATCH weston 7/7] protocol: migrate to stable presentation-time.xml

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:34:46PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > Remove the unstable presentation_timing.xml file, and use > presentation-time.xml from wayland-protocols instead to generate all the > Presentation extension bindings. > >

Re: [PATCH weston 6/7] Makefile: handle also stable wayland-protocols

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:34:45PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > Fix the protostability function to handle stable protocol files > correctly. Stable protocol XML file names do not have 'stable' in their > name, nor do we want to write

Re: [PATCH weston 5/7] Makefile: move presentation_timing source out of toytoolkit

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:34:44PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > Toytoolkit sources don't actually use the presentation_timing client > protocol bindings for anything. Apparently they were there only because > that's how they end up in

Re: [PATCH wayland-protocols 4/4] Makefile: install and dist stable protocols

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:34:43PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > Signed-off-by: Pekka Paalanen Personally I'd squash 2,3,4 since they're all short "hook things up" changes that go together, but no biggie.

Re: [PATCH wayland-protocols 3/4] Makefile: add presentation-time to stable protocols

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:34:42PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > Signed-off-by: Pekka Paalanen Reviewed-by: Bryce Harrington > --- > Makefile.am | 1 + > 1 file changed, 1

Re: [PATCH wayland-protocols 2/4] presentation-time: finish stabilization

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:34:41PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > Rename interfaces and the protocol to follow the policy. > > Signed-off-by: Pekka Paalanen Reviewed-by: Bryce Harrington

Re: [PATCH wayland-protocols 1/4] stable: add presentation-time draft

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:34:40PM +0200, Pekka Paalanen wrote: > From: Pekka Paalanen > > This XML file has been copied verbatim from Weston 1.10.0 release, > protocol/presentation_timing.xml. The last behavioral change to that > file was in December 2014, so the

Re: [PATCH] server: Fix shm_create_pool size fail path fd leak

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 01:23:00PM +0800, Jonas Ådahl wrote: > On Fri, Feb 19, 2016 at 11:13:25AM +0100, xerpi wrote: > > I was just reading the source when I found it (no valgrind involved). So > > as wl_connection_destroy() already takes care of that, my patch is > > pointless. > > I was wrong.

Re: [PATCH wayland] tests: Test creating a shm pool with 0 size

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 03:03:11PM +0100, Marek Chalupa wrote: > Hi > > On 02/22/16 06:52, Jonas Ådahl wrote: > >Add a test case that tests the servers behaviour when creating a pool > >of size 0. The test suite will do the memory and fd leak check for us, > >so the test case is only a triggerer.

Re: [PATCH weston 1/2] simple-touch: Use damage_buffer if available

2016-02-22 Thread Bryce Harrington
On Sat, Feb 20, 2016 at 08:52:10AM -0600, Derek Foreman wrote: > On 20/02/16 02:53 AM, Giulio Camuffo wrote: > > 2016-02-20 5:20 GMT+02:00 Bryce Harrington : > >> On Fri, Feb 12, 2016 at 09:03:16AM +0200, Giulio Camuffo wrote: > >>> 2016-02-12 6:26 GMT+02:00 Bryce Harrington

Re: wayland-protocols versioning between releases

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 02:04:04PM +0200, Pekka Paalanen wrote: > On Mon, 22 Feb 2016 19:10:37 +0800 > Jonas Ådahl wrote: > > > On Mon, Feb 22, 2016 at 12:44:46PM +0200, Pekka Paalanen wrote: > > > On Mon, 22 Feb 2016 17:19:01 +0800 > > > Jonas Ådahl wrote: >

Re: [PATCH weston v2] config-parser: Check malloc and strdup returns

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 02:47:49PM +0100, Marek Chalupa wrote: > Hi, > > Reviewed-by: Marek Chalupa Thanks, pushed: To ssh://git.freedesktop.org/git/wayland/weston 58b7a15..3f2062c master -> master > Best, > Marek > > On 02/18/16 05:46, Bryce Harrington wrote: >

Re: [PATCH wayland] client: Don't segfault when receiving error on destroyed object

2016-02-22 Thread Bryce Harrington
On Mon, Feb 22, 2016 at 02:34:57PM +0100, Marek Chalupa wrote: > Hi, > > can confirm the segfault, tested it (will send the test I used for > it as a follow-up). The only API change problem could be in > returning > NULL as the interface - if the user does not check for it, he/she > dereferences

[PATCH weston] xwayland: Create the drag-and-drop window in weston_wm_dnd_init

2016-02-22 Thread Carlos Garnacho
Just to keep it hidden so far... A lot of the plumbing necessary to handle x11->wayland drag and drop is missing, and the current partial handling gets in the middle for X11 drag-and-drop itself to work. The approach is well directed, but needs some further work, till then, just keep our fake

Re: [RFC wayland-protocols v4] Add Primary Selection Protocol Version 1

2016-02-22 Thread Carlos Garnacho
Hi Michal, On Mon, Feb 22, 2016 at 4:53 PM, Michal Suchanek wrote: > On 22 February 2016 at 15:57, Carlos Garnacho wrote: >> Hi Michal, >> >> On Mon, Feb 22, 2016 at 2:25 PM, Michal Suchanek wrote: >>> Hello, >>> >>> On 20 February

Re: [RFC wayland-protocols v4] Add Primary Selection Protocol Version 1

2016-02-22 Thread Michal Suchanek
On 22 February 2016 at 15:57, Carlos Garnacho wrote: > Hi Michal, > > On Mon, Feb 22, 2016 at 2:25 PM, Michal Suchanek wrote: >> Hello, >> >> On 20 February 2016 at 01:31, Carlos Garnacho wrote: >> >>> + >>> + >>> +This protocol

Re: [RFC wayland-protocols v4] Add Primary Selection Protocol Version 1

2016-02-22 Thread Carlos Garnacho
Hi Michal, On Mon, Feb 22, 2016 at 2:25 PM, Michal Suchanek wrote: > Hello, > > On 20 February 2016 at 01:31, Carlos Garnacho wrote: > >> + >> + >> +This protocol provides the ability to have a primary selection device to >> +match that of the X

Re: [PATCH wayland] tests: Test creating a shm pool with 0 size

2016-02-22 Thread Marek Chalupa
Hi On 02/22/16 06:52, Jonas Ådahl wrote: Add a test case that tests the servers behaviour when creating a pool of size 0. The test suite will do the memory and fd leak check for us, so the test case is only a triggerer. Signed-off-by: Jonas Ådahl --- Makefile.am | 5

Re: [PATCH weston v2] config-parser: Check malloc and strdup returns

2016-02-22 Thread Marek Chalupa
Hi, Reviewed-by: Marek Chalupa Best, Marek On 02/18/16 05:46, Bryce Harrington wrote: Signed-off-by: Bryce Harrington --- v2: Also check strdup return shared/config-parser.c | 22 ++ 1 file changed, 22 insertions(+) diff

[PATCH] libinput-device: Remove unnecessary function call

2016-02-22 Thread Chris Michael
When we handle keyboard key events, we already retrieve the key state at the top of this function, so there is no real need to call the same libinput function again as we can just reuse the 'key_state' variable that we have above. Signed-off-by: Chris Michael ---

[PATCH wayland] tests: add test for receiving an error on destroyed object

2016-02-22 Thread Marek Chalupa
test if receiving an error on already destroyed object won't do any harm Signed-off-by: Marek Chalupa --- tests/display-test.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/tests/display-test.c b/tests/display-test.c

Re: [PATCH wayland] client: Don't segfault when receiving error on destroyed object

2016-02-22 Thread Marek Chalupa
Hi, can confirm the segfault, tested it (will send the test I used for it as a follow-up). The only API change problem could be in returning NULL as the interface - if the user does not check for it, he/she dereferences NULL. But I don't think anybody (except us in tests) is using

[PATCH wayland-protocols 1/4] stable: add presentation-time draft

2016-02-22 Thread Pekka Paalanen
From: Pekka Paalanen This XML file has been copied verbatim from Weston 1.10.0 release, protocol/presentation_timing.xml. The last behavioral change to that file was in December 2014, so the behaviour is considered stable. Interfaces still need to be renamed

[PATCH wayland-protocols 3/4] Makefile: add presentation-time to stable protocols

2016-02-22 Thread Pekka Paalanen
From: Pekka Paalanen Signed-off-by: Pekka Paalanen --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 57d0023..21b1a00 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,6 +10,7 @@

[PATCH weston 5/7] Makefile: move presentation_timing source out of toytoolkit

2016-02-22 Thread Pekka Paalanen
From: Pekka Paalanen Toytoolkit sources don't actually use the presentation_timing client protocol bindings for anything. Apparently they were there only because that's how they end up in BUILT_SOURCES. Move them from toytoolkit sources to BUILT_SOURCES where

[PATCH weston 6/7] Makefile: handle also stable wayland-protocols

2016-02-22 Thread Pekka Paalanen
From: Pekka Paalanen Fix the protostability function to handle stable protocol files correctly. Stable protocol XML file names do not have 'stable' in their name, nor do we want to write that in the prerequisite lists in the Makefile. Function 'protoname' does

[PATCH wayland-protocols 4/4] Makefile: install and dist stable protocols

2016-02-22 Thread Pekka Paalanen
From: Pekka Paalanen Signed-off-by: Pekka Paalanen --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 21b1a00..e0bd079 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,10 +15,12

[PATCH wayland-protocols 2/4] presentation-time: finish stabilization

2016-02-22 Thread Pekka Paalanen
From: Pekka Paalanen Rename interfaces and the protocol to follow the policy. Signed-off-by: Pekka Paalanen --- stable/presentation-time/presentation-time.xml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH wayland-protocols weston 0/7] Stabilize Presentation extension

2016-02-22 Thread Pekka Paalanen
From: Pekka Paalanen Hi, here is the two-part patch series to move Presentation (feedback) to stable extensions. The first part is for wayland-protocols, and the second part is for Weston. I would like to have all patches reviewed before landing the

Re: [PATCH] libinput-device: Remove unnecessary function call

2016-02-22 Thread Pekka Paalanen
On Mon, 22 Feb 2016 08:22:11 -0500 Chris Michael wrote: > When we handle keyboard key events, we already retrieve the key state > at the top of this function, so there is no real need to call the same > libinput function again as we can just reuse the 'key_state'

Re: [RFC wayland-protocols v4] Add Primary Selection Protocol Version 1

2016-02-22 Thread Michal Suchanek
Hello, On 20 February 2016 at 01:31, Carlos Garnacho wrote: > + > + > +This protocol provides the ability to have a primary selection device to > +match that of the X server. This primary selection is a shortcut to the > +common clipboard selection, where text

Re: desktop-shell: How to enable really alpha blending of weston background?

2016-02-22 Thread Pekka Paalanen
On Mon, 22 Feb 2016 21:36:41 +0900 YoungJun Jo wrote: > Environment > OS : Linux kernel 3.10 > Version : Weston 1.8.0 > H/W spec : embedded soc based on ARM > > Hello, All > > I have a question about weston background. > I want enable alpha blending to background, so i

desktop-shell: How to enable really alpha blending of weston background?

2016-02-22 Thread YoungJun Jo
Environment OS : Linux kernel 3.10 Version : Weston 1.8.0 H/W spec : embedded soc based on ARM Hello, All I have a question about weston background. I want enable alpha blending to background, so i have typed 'background-color=0x00ff' on weston.ini. But that's not really alpha blending.

Re: wayland-protocols versioning between releases

2016-02-22 Thread Pekka Paalanen
On Mon, 22 Feb 2016 19:10:37 +0800 Jonas Ådahl wrote: > On Mon, Feb 22, 2016 at 12:44:46PM +0200, Pekka Paalanen wrote: > > On Mon, 22 Feb 2016 17:19:01 +0800 > > Jonas Ådahl wrote: > > > > > On Mon, Feb 22, 2016 at 11:04:16AM +0200, Pekka Paalanen wrote:

Re: wayland-protocols versioning between releases

2016-02-22 Thread Jonas Ådahl
On Mon, Feb 22, 2016 at 12:44:46PM +0200, Pekka Paalanen wrote: > On Mon, 22 Feb 2016 17:19:01 +0800 > Jonas Ådahl wrote: > > > On Mon, Feb 22, 2016 at 11:04:16AM +0200, Pekka Paalanen wrote: > > > Hi Jonas, > > > > > > I have a small version dependency issue when preparing a

Re: wayland-protocols versioning between releases

2016-02-22 Thread Pekka Paalanen
On Mon, 22 Feb 2016 17:19:01 +0800 Jonas Ådahl wrote: > On Mon, Feb 22, 2016 at 11:04:16AM +0200, Pekka Paalanen wrote: > > Hi Jonas, > > > > I have a small version dependency issue when preparing a patch set to > > stabilize the Presentation extension. I want to write a final

wayland-protocols versioning between releases

2016-02-22 Thread Pekka Paalanen
Hi Jonas, I have a small version dependency issue when preparing a patch set to stabilize the Presentation extension. I want to write a final patch set to be landed into both wayland-protocols and weston, send it to the list, and let people be able to test it as usual. A weston patch needs to