Re: Re: [PATCH wayland v3 6/7] server: Add new API for adding a socket with an existing fd

2015-12-14 Thread 이상진
Title: Samsung Enterprise Portal mySingle This patch set did not consider the socket activation.So the fd is the unbind, no listen fd. The name was needed for the bind().However socket activation seems to be good point.If i am considering a socket activation, as you said

Re: Inconsistency with scaler extension?

2015-12-14 Thread Pekka Paalanen
On Tue, 08 Dec 2015 14:48:01 +0100 Matthias Treydte wrote: > Hello, > > while playing around with the scaler extension on Weston 1.9 I've > encountered some strange behavior I'd like to get some definitive input > for: > > I'm using Weston 1.9 under X11 with the NVidia

Re: [PATCH v2 wayland-protocols] Add the tablet protocol

2015-12-14 Thread Bill Spitzak
On Tue, Dec 8, 2015 at 2:00 PM, Peter Hutterer wrote: > On Tue, Dec 08, 2015 at 11:58:20AM -0800, Bill Spitzak wrote: > > What is the plan for using a tablet in "relative" mode? This is pretty > > common if the tablet is smaller than the screen, as many modern ones are.

Re: [PATCH v2 wayland-protocols] Add the tablet protocol

2015-12-14 Thread Bill Spitzak
I should point out that a big surprise for me was discovering that acceleration was applied to the relative motion of the tool. I discovered that while trying to draw rectangles to determine the scale and realized that only if I moved really slowly would I get the same size every time. I had

Re: Touch events not reviving with wayland-ivi-extenssion 1.4.0 and wayland video sink

2015-12-14 Thread Vikas Patil
Hi Eugen Friedrich Thanks a lot for your quick reply. Attached here the file with WAYLAND_DEBUG=1 log when the gstreamer plug-in is in use. I can see "ivi_input@18.input_focus(90, 4, 0)" for the surface from plug-in but no touch events. Here is the output of APIs root@linux-9939-a1:~#

Re: [PATCH wayland v3 6/7] server: Add new API for adding a socket with an existing fd

2015-12-14 Thread Pekka Paalanen
On Mon, 7 Dec 2015 22:49:18 -0800 Bryce Harrington wrote: > Currently the server can add a socket by name. To support an embedded > compositor in a Simplified Mandatory Access Control Kernel (Smack) > enabled environment, the embedded compositor should use the socket

Re: [PATCH] ivi-shell: activate weston surface with a seat when left click or touch.

2015-12-14 Thread Pekka Paalanen
On Wed, 9 Dec 2015 12:08:09 +0200 Pekka Paalanen wrote: > On Wed, 9 Dec 2015 15:03:47 +0900 > Nobuhiko Tanibata wrote: > > > From: Nobuhiko Tanibata > > > > Similar with Desktop shell, set activate

RE: Touch events not reviving with wayland-ivi-extenssion 1.4.0 and wayland video sink

2015-12-14 Thread Friedrich, Eugen (ADITG/SW1)
Hello Vikas, Could you please add the WAYLAND_DEBUG=1 traces from you application, to see if the input events are reaching the client. Also the output of the following API would be helpful: ilm_getInputFocus, ilm_getInputDevices, ilm_getInputAcceptanceOn(with you surface id) the API's will

Re: [PATCH wayland v3] protocol: add support for cross-interface enum attributes

2015-12-14 Thread Auke Booij
Bill, any chance you could review this? Or would you prefer it if this were based on your patch (which I do still support)? On 5 December 2015 at 13:39, Auke Booij wrote: > The enum attribute, for which scanner support was introduced in > 1771299, can be used to link message

Re: [PATCH libinput 4/5] tablet: reduce event deltas to only apply to the wheel

2015-12-14 Thread Lyude
On Mon, 2015-12-14 at 12:00 +1000, Peter Hutterer wrote: > Part of the big revamp to get rid of libinput_tablet_tool_axis and > replace it with a set of axis-specific APIs. > > Only the rel wheel has true delta events, everything else is a delta > calculated by libinput based on the previous

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

2015-12-14 Thread Pekka Paalanen
On Mon, 14 Dec 2015 16:20:14 -0500 Lyude wrote: > On Mon, 2015-12-14 at 10:45 -0800, Bill Spitzak wrote: > > > > > > On Mon, Dec 14, 2015 at 9:13 AM, Pekka Paalanen > > wrote: > > > On Mon, 14 Dec 2015 10:39:05 -0500 > > > Lyude

Re: [PATCH wayland v3 6/7] server: Add new API for adding a socket with an existing fd

2015-12-14 Thread Pekka Paalanen
On Tue, 15 Dec 2015 01:16:37 + (GMT) 이상진 wrote: > Samsung Enterprise Portal mySingle > > This patch set did not consider the socket activation. > So the fd is the unbind, no listen fd. The name was needed for the bind(). Hi, even if we did not want to support socket

Re: Inconsistency with scaler extension?

2015-12-14 Thread Daniel Stone
Hi, On 14 December 2015 at 11:40, Pekka Paalanen wrote: > On Tue, 08 Dec 2015 14:48:01 +0100 > Matthias Treydte wrote: >> Either way, using the scaler API causes either too much drawing when >> used without setting the damage region (variant (b) above

Re: Inconsistency with scaler extension?

2015-12-14 Thread Daniel Stone
On 14 December 2015 at 12:49, Daniel Stone wrote: > On 14 December 2015 at 11:40, Pekka Paalanen wrote: >> On Tue, 08 Dec 2015 14:48:01 +0100 >> Matthias Treydte wrote: >>> Either way, using the scaler API causes either too much

Re: Inconsistency with scaler extension?

2015-12-14 Thread Pekka Paalanen
On Mon, 14 Dec 2015 13:00:06 + Daniel Stone wrote: > On 14 December 2015 at 12:49, Daniel Stone wrote: > > On 14 December 2015 at 11:40, Pekka Paalanen wrote: > >> On Tue, 08 Dec 2015 14:48:01 +0100 > >> Matthias Treydte

Re: [PATCH libinput 0/5] tablet: change to an axis-specific API

2015-12-14 Thread Lyude
+1 for this idea, this looks a lot cleaner to work with then what we had before. I've gone through all the patches, and since most of it is refactoring the only issue I can see is the typo in #4. Consider it Reviewed-by: Lyude On Mon, 2015-12-14 at 12:00 +1000, Peter Hutterer

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

2015-12-14 Thread Pekka Paalanen
On Mon, 14 Dec 2015 10:39:05 -0500 Lyude wrote: > On Sat, 2015-12-12 at 11:29 -0800, Bill Spitzak wrote: > > I don't think you need the word "primary" in there. It can be called the > > selection. The other thing this is confused with is called the "clipboard". > > > > Glad to

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

2015-12-14 Thread Pekka Paalanen
On Mon, 14 Dec 2015 10:45:25 -0800 Bill Spitzak wrote: > On Mon, Dec 14, 2015 at 9:13 AM, Pekka Paalanen wrote: > > > On Mon, 14 Dec 2015 10:39:05 -0500 > > Lyude wrote: > > > > > On Sat, 2015-12-12 at 11:29 -0800, Bill Spitzak wrote:

Re: [PATCH libinput 6/8] tablet: support tool-specific pressure offsets

2015-12-14 Thread Ping Cheng
On Sunday, December 13, 2015, Peter Hutterer wrote: > If a tool wears out, it may have a pre-loaded pressure offset. In that > case, > even when the tool is not physically in contact with the tablet surface it > will send pressure events. > > Use automatic pressure

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

2015-12-14 Thread Pekka Paalanen
On Fri, 11 Dec 2015 11:04:07 +0200 Giulio Camuffo wrote: > 2015-12-10 1:29 GMT+02:00 : > > From: Lyude > > > > Signed-off-by: Lyude > > --- > > Makefile.am| 1 + > >

Re: [PATCH weston v3] drm: port the drm backend to the new init api

2015-12-14 Thread Pekka Paalanen
On Fri, 11 Dec 2015 17:49:57 +0200 Giulio Camuffo wrote: > 2015-12-11 17:31 GMT+02:00 Pekka Paalanen : > > On Wed, 9 Dec 2015 19:08:58 +0200 > > Giulio Camuffo wrote: > > > >> 2015-12-09 18:58 GMT+02:00 Daniel Stone

Re: Inconsistency with scaler extension?

2015-12-14 Thread Pekka Paalanen
On Mon, 14 Dec 2015 11:45:13 -0800 Bill Spitzak wrote: > I am pretty certain the plan for buffer_damage is to indicate the area that > would have to be uploaded to the graphics card to update the texture map. No, it very specifically is NOT defined like that. It is the

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

2015-12-14 Thread Lyude
On Mon, 2015-12-14 at 10:45 -0800, Bill Spitzak wrote: > > > On Mon, Dec 14, 2015 at 9:13 AM, Pekka Paalanen wrote: > > On Mon, 14 Dec 2015 10:39:05 -0500 > > Lyude wrote: > > > > > On Sat, 2015-12-12 at 11:29 -0800, Bill Spitzak wrote: > > > > I don't

Re: [PATCH wayland v3 3/7] os: Expose set_cloexec_or_close with a namespaced name

2015-12-14 Thread Pekka Paalanen
On Mon, 7 Dec 2015 22:49:15 -0800 Bryce Harrington wrote: > Signed-off-by: Bryce Harrington > --- > src/wayland-os.c | 24 +--- > src/wayland-os.h | 3 +++ > 2 files changed, 20 insertions(+), 7 deletions(-) > > diff --git

Re: [PATCH wayland v3 5/7] server: Restructure _wl_display_add_socket() to take an explicit fd argument

2015-12-14 Thread Pekka Paalanen
On Mon, 7 Dec 2015 22:49:17 -0800 Bryce Harrington wrote: > Move the the wl_os_socket_cloexec() to the callers. > > Signed-off-by: Bryce Harrington > --- > src/wayland-server.c | 24 > 1 file changed, 16 insertions(+), 8