Re: [PATCH libinput v2] tablet: fix get_x_transformed() and get_y_transformed()

2014-07-21 Thread Peter Hutterer
On Sun, Jul 20, 2014 at 10:20:41PM -0400, Stephen Chandler Paul wrote: > Because the values for each axis were stored in struct tablet_dispatch in > millimeters, coordinates were not being translated properly to screen > coordinates. This stores the values internally as raw coordinates, and only >

[PATCH libinput] test: auto-update for BTN_TOOL_* when using litest_touch_ functions

2014-07-21 Thread Peter Hutterer
Set BTN_TOUCH, BTN_TOOL_DOUBLETAP automatically depending on the number of fingers down. This emulates real event sequences a bit better than the current approach, though it's not a 100% correct emulation: 1) On real devices, BTN_* are usually sent last before the SYN_REPORT - here they are sen

Re: [PATCH] touchpad: reset motion history when nfingers changes on semi-mt pads

2014-07-21 Thread Peter Hutterer
On Mon, Jul 21, 2014 at 03:25:47PM +0200, Hans de Goede wrote: > On semi-mt touchpads the reported position of the first finger down may > jump when the pad switches from st to mt mode. When this happens a large > delta gets seen on the first finger at the same time the second fingers > is first se

Re: [PATCH] xdg-shell: Align surface life-time rules with that of wl_shell

2014-07-21 Thread Jason Ekstrand
I think the way it's handled in subsurfaces allows you to create a subsurface from a surface, delete the surface, and then re-use the surface as something else. If I recall correctly, weston allows a fair amount of surface re-use right now. That said, I'm not opposed to not allowing it for xdg su

[PATCH] doc: Quell warnings about missing man3 directory before its been built

2014-07-21 Thread Bryce W. Harrington
The shell command for dist_man3_MANS gets invoked several times during the make process but before the man pages have been generated, which causes the following warnings when running `make`: find: `man/man3': No such file or directory find: `man/man3': No such file or directory find: `

Re: [PATCH] xdg-shell: Align surface life-time rules with that of wl_shell

2014-07-21 Thread Jasper St. Pierre
Note that I fixed GTK+ to always create a new wl_surface and never reuse it. I don't think it makes any sense to keep the wl_surface around in the background. I certainly don't think it ever makes sense to destroy the xdg_surface and then make it into an xdg_popup or similar. The semantics of "onc

Re: [PATCH] xdg-shell: Align surface life-time rules with that of wl_shell

2014-07-21 Thread Sjoerd Simons
On Mon, 2014-07-21 at 10:03 -0700, Jason Ekstrand wrote: > On Mon, Jul 21, 2014 at 1:47 AM, Sjoerd Simons < > sjoerd.sim...@collabora.co.uk> wrote: > > > Remove the explicit destroy method from xdg_surface and xdg_popup as > > neither of them can be re-created after being destroyed. As a results a

[PATCH] gitignore: Add another test-suite file

2014-07-21 Thread Bryce W. Harrington
Signed-off-by: Bryce Harrington --- .gitignore |1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c146bac..d9d26ed 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,7 @@ fixed-benchmark fixed-test list-test map-test +message-test os-wrappers-test queue-

Re: Query regarding calibration

2014-07-21 Thread jadahl
On Mon, Jul 21, 2014 at 07:55:10PM +0530, Sujith H wrote: > Hi all, > > I am using a freescale embedded device ( imx6 series) to run weston. I am > able to successfully run on desktop-shell as well as the ivi-shell. The > touch is also working fine. My query here is that the touch is not getting >

Re: Fwd: [PATCH weston] xdg-shell: Make stable

2014-07-21 Thread Jason Ekstrand
On Sat, Jul 19, 2014 at 12:46 AM, Manuel Bachmann < manuel.bachm...@open.eurogiciel.org> wrote: > Hi Jasper, Jaspon, thanks for taking good arguments to the table, > > "Destroying and creating an xdg_surface will, certainly." > > Yes, that's what we have been doing for some time, but it has the se

Re: [PATCH] xdg-shell: Align surface life-time rules with that of wl_shell

2014-07-21 Thread Jason Ekstrand
On Mon, Jul 21, 2014 at 1:47 AM, Sjoerd Simons < sjoerd.sim...@collabora.co.uk> wrote: > Remove the explicit destroy method from xdg_surface and xdg_popup as > neither of them can be re-created after being destroyed. As a results a > wl_surface gets into an odd sort of odd limbo state after a > xd

Query regarding calibration

2014-07-21 Thread Sujith H
Hi all, I am using a freescale embedded device ( imx6 series) to run weston. I am able to successfully run on desktop-shell as well as the ivi-shell. The touch is also working fine. My query here is that the touch is not getting calibrated precisely. When I launch an example from Qt5, say animated

[PATCH] touchpad: reset motion history when nfingers changes on semi-mt pads

2014-07-21 Thread Hans de Goede
On semi-mt touchpads the reported position of the first finger down may jump when the pad switches from st to mt mode. When this happens a large delta gets seen on the first finger at the same time the second fingers is first seen down, causing a spurious 2 finger scroll event. Reset the motion hi

[PATCH] xdg-shell: Align surface life-time rules with that of wl_shell

2014-07-21 Thread Sjoerd Simons
Remove the explicit destroy method from xdg_surface and xdg_popup as neither of them can be re-created after being destroyed. As a results a wl_surface gets into an odd sort of odd limbo state after a xdg_{surface,popup}.destroy call where it not only no longer has an xdg_{surface,popup} associated

Re: [PATCH libinput 1/2] Use an enum to enable/disable tapping configuration

2014-07-21 Thread Hans de Goede
Hi, On 07/21/2014 08:40 AM, Peter Hutterer wrote: > More expressive in the caller and less ambiguous about return values (is it 1? > is it non-zero? can it be negative?) > > Signed-off-by: Peter Hutterer Looks good, series is: Reviewed-by: Hans de Goede Regards, Hans > --- > src/evdev-mt-t

Re: [PATCH libinput] test: add test for 3-finger tapping

2014-07-21 Thread Hans de Goede
Hi, On 07/21/2014 08:36 AM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > Series looks good, just double-check the tests for me please. This needs the > fixed bcm5974 patch I just sent a minute ago to work. Looks good: Reviewed-by: Hans de Goede Regards, Hans > > test/touc

Re: [PATCH libinput] touchpad: always enable palm detection on apple touchpads

2014-07-21 Thread Hans de Goede
Hi, On 07/21/2014 08:31 AM, Peter Hutterer wrote: > They don't set resolution so we can't calculate the size but we know they're > big enough to need palm detection. > > And fix the descriptor for the bcm5974. For some reason this was advertising > synaptics coordinates. Fix it to represent (one

Re: [PATCH weston] xdg-shell: Make stable

2014-07-21 Thread Sjoerd Simons
Hey Jasper, On Thu, 2014-07-17 at 17:57 -0400, Jasper St. Pierre wrote: > We've gone through enough churn of xdg-shell that we're now feeling > confident enough to commit to this much. Let's do it. It would make me much more confident if the somewhat odd life-time rules of xdg-shell were addresse