Re: [PATCH weston 5/5] clients: Add simple draw client for testing pointer devices

2012-05-09 Thread Pekka Paalanen
On Wed, 9 May 2012 23:31:46 +0200 Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > clients/Makefile.am |4 ++ > clients/draw.c | 197 > +++ > 2 files changed, 201 insertions(+) > create mode 100644 clients/draw.c ... > + /*

Re: [PATCH weston 1/5] compositor: When clipping pointer motions, don't loose precision

2012-05-09 Thread Kristian Høgsberg
On Wed, May 9, 2012 at 9:53 PM, Kristian Høgsberg wrote: > On Wed, May 9, 2012 at 9:07 PM, Daniel Stone wrote: >> Hi, >> >> On 10 May 2012 00:12, Kristian Høgsberg wrote: >>> We just need min/max_x/y to be wl_fixed_t and then we need >>> >>> #define WL_FIXED_MAX INT32_MAX >>> #define WL_FIXED_MI

Re: [PATCH weston 1/5] compositor: When clipping pointer motions, don't loose precision

2012-05-09 Thread Kristian Høgsberg
On Wed, May 9, 2012 at 9:07 PM, Daniel Stone wrote: > Hi, > > On 10 May 2012 00:12, Kristian Høgsberg wrote: >> We just need min/max_x/y to be wl_fixed_t and then we need >> >> #define WL_FIXED_MAX INT32_MAX >> #define WL_FIXED_MIN INT32_MIN > > Err? An int32_t can never be greater than INT32_MAX

Re: [PATCH weston 1/5] compositor: When clipping pointer motions, don't loose precision

2012-05-09 Thread Daniel Stone
Hi, On 10 May 2012 00:12, Kristian Høgsberg wrote: > We just need min/max_x/y to be wl_fixed_t and then we need > > #define WL_FIXED_MAX INT32_MAX > #define WL_FIXED_MIN INT32_MIN Err? An int32_t can never be greater than INT32_MAX nor less than INT32_MIN - it just overflows - so I'm not sure wh

Re: [PATCH weston 1/5] compositor: When clipping pointer motions, don't loose precision

2012-05-09 Thread Kristian Høgsberg
On Wed, May 9, 2012 at 7:00 PM, Daniel Stone wrote: > Hi, > > On 9 May 2012 22:31, Jonas Ådahl wrote: >> @@ -1563,18 +1563,20 @@ clip_pointer_motion(struct weston_compositor *ec, >>                    wl_fixed_t *fx, wl_fixed_t *fy) >>  { >>        struct weston_output *output; >> -       int32_t

Re: [PATCH weston 1/5] compositor: When clipping pointer motions, don't loose precision

2012-05-09 Thread Daniel Stone
Hi, On 9 May 2012 22:31, Jonas Ådahl wrote: > @@ -1563,18 +1563,20 @@ clip_pointer_motion(struct weston_compositor *ec, >                    wl_fixed_t *fx, wl_fixed_t *fy) >  { >        struct weston_output *output; > -       int32_t x, y; > +       wl_fixed_t x, y; >        int x_valid = 0, y_v

[PATCH weston 4/5] evdev: Improve touchpad support and add motion filters

2012-05-09 Thread Jonas Ådahl
Touchpad related code has been rewritten and moved to its own file accessed by evdev via the dispatch interface. The various functionality implemented are anti-flicker (don't jumping around), smoother motions, touch detection, pointer acceleration and some more. Pointer acceleration is implemente

[PATCH weston 5/5] clients: Add simple draw client for testing pointer devices

2012-05-09 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- clients/Makefile.am |4 ++ clients/draw.c | 197 +++ 2 files changed, 201 insertions(+) create mode 100644 clients/draw.c diff --git a/clients/Makefile.am b/clients/Makefile.am index 2377189..bb3954b 100644

[PATCH weston 3/5] evdev: Use wl_fixed_t for relative motions

2012-05-09 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/evdev-private.h |2 +- src/evdev.c | 18 +++--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/evdev-private.h b/src/evdev-private.h index da4fb7e..c93f219 100644 --- a/src/evdev-private.h +++ b/src/evdev-private.h

[PATCH weston 2/5] evdev: Add event process dispatching

2012-05-09 Thread Jonas Ådahl
By adding an 'evdev_dispatch' struct to the dispatch_list in 'evdev_input_device' the 'process' function in the associated interface will be called with received input events. The process function can either handle the event and return a non-zero integer or return zero and the generic fallback hand

[PATCH weston 1/5] compositor: When clipping pointer motions, don't loose precision

2012-05-09 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/compositor.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 3005b6b..99bf833 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1563,18 +1563,20 @@ clip_point

[PATCH weston 0/5] Touchpad support

2012-05-09 Thread Jonas Ådahl
Hi, This series of changes introduces better support for touchpads when using evdev for input handling. Some of the ideas and algorithms used comes from the xserver and xf86-input-synaptics repositories. The various functionality implemented are anti-flicker (avoid jumping around), smoother motio

Ubuntu conference system compositor discussion in 11 minutes

2012-05-09 Thread darxus
10am PDT, 1pm EDT. http://summit.ubuntu.com/uds-q/meeting/20429/desktop-q-system-compositor/ http://summit.ubuntu.com/uds-q/room-203/ Live audio stream: http://icecast.ubuntu.com:8000/room-203.ogg.m3u IRC: irc.freenode.net http://icecast.ubuntu.com:8000/room-203.ogg.m3u -- "The most elementary a

Re: Chromium based Aura under Wayland (0/3)

2012-05-09 Thread Kristian Høgsberg
On Tue, May 08, 2012 at 08:04:27PM -0700, yan.w...@linux.intel.com wrote: > > Dear Yan, > > > > Could you share your work on chromium? > > I also want to run chromium on wayland. > > I am applying for the approval. If finished, I will announce it in this > mail list. > Thanks. If you have it in a

Re: [PATCH weston] window: Don't crash if a cursor image failed to load.

2012-05-09 Thread Kristian Høgsberg
On Tue, May 08, 2012 at 09:02:33PM -0700, Dima Ryazanov wrote: > > Signed-off-by: Dima Ryazanov Thanks, good fix. Kristian > --- > clients/window.c | 11 +-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/clients/window.c b/clients/window.c > index 2c59b23..72d36

Re: [PATCH weston] evdev: Convert wl_fixed_t to int before using internally

2012-05-09 Thread Kristian Høgsberg
On Wed, May 09, 2012 at 08:46:44AM +0200, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl Thanks, that fixes the immediate problem. I think we want to switch to wl_fixed_t in notify_motion() though, so we'll probably rewrite this again shortly. Kristian > --- > src/evdev.c |4 ++-- > 1 fi

Re: GTK Ubuntu Precise packaging success

2012-05-09 Thread darxus
On 05/09, Alex Wu wrote: > I tryed to fire a bug by "ubuntu-bug libcanberra-gtk3-module ", but > got "Network problem". So I open a > bug(https://bugs.launchpad.net/ubuntu/+source/apport/+bug/996904) > for apport first. I also reported the libcanberra bug > (https://bugs.launchpad.net/ubuntu/+sourc

Re: Wayland is not starting on ARM.

2012-05-09 Thread Pekka Paalanen
On Tue, 8 May 2012 14:52:43 + wrote: > Hi, > > I have cross compiled the following packages for ARM > > 1.GTK+3.4 with wayland-0.85.0 as backend > > 2.Mesa 8.0.2 with configuration option > ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} > --with-egl-plat

Re: GTK Ubuntu Precise packaging success

2012-05-09 Thread Alex Wu
? 2012/5/8 22:42, dar...@chaosreigns.com ??: On 05/08, Alex Wu wrote: Hi darxus, I installed your PPA on my ubuntu 12.04 desktop and followed your directions on [1]https://launchpad.net/~darxus/+archive/wayland-gtk to run the gtk apps you listed both on native weston and weston a