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

2012-05-08 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/evdev.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index c65b82f..5fa7ae6 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -300,8 +300,8 @@ evdev_flush_motion(struct evdev_input_device *device, uint32_t tim

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

2012-05-08 Thread Dima Ryazanov
Signed-off-by: Dima Ryazanov --- clients/window.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/clients/window.c b/clients/window.c index 2c59b23..72d36d3 100644 --- a/clients/window.c +++ b/clients/window.c @@ -687,10 +687,14 @@ create_cursors(struct display

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

2012-05-08 Thread yan . wang
> 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. Yan Wang > > Thank you. > On Wed, May 9, 2012 at 11:32 AM, wrote: > >> > On Fri, May 4, 2012 at 4:40 AM,

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

2012-05-08 Thread Simon Hong
Dear Yan, Could you share your work on chromium? I also want to run chromium on wayland. Thank you. On Wed, May 9, 2012 at 11:32 AM, wrote: > > On Fri, May 4, 2012 at 4:40 AM, wrote: > >> Hi, All, > >> Â I did some porting of Chromium browser based on Aura. Now it could run > >> on Weston and

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

2012-05-08 Thread yan . wang
> On Fri, May 4, 2012 at 4:40 AM, wrote: >> Hi, All, >>  I did some porting of Chromium browser based on Aura. Now it could run >> on Weston and display web page by input URL. I attached some my screen >> shot pictures for your reference. > > I just wanted to chime in too and say that this is re

Re: transient surfaces for xwayland and tooltip love

2012-05-08 Thread Bill Spitzak
I was suggesting that a different wayland call be used to have any effect on focus, and it can be called for any surface. There is no need for create_transient to give the surface focus because this call can be done immediately afterwards. Whether the surface has focus or not is not really par

Re: [PATCH] window: fix check of cursor image load result

2012-05-08 Thread Kristian Høgsberg
On Tue, May 08, 2012 at 10:10:44PM +0200, Rafal Mielniczuk wrote: Nice catch, thanks. Kristian > --- > clients/window.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/clients/window.c b/clients/window.c > index b47e969..695fc89 100644 > --- a/clients/window.c >

Re: [PATCH 1/4] Port Wayland clients to new xkbcommon API

2012-05-08 Thread Kristian Høgsberg
On Tue, May 8, 2012 at 3:14 PM, Kristian Høgsberg wrote: > On Tue, May 8, 2012 at 12:26 PM, Daniel Stone wrote: >> Hi, >> >> On 7 May 2012 21:01, Kristian Høgsberg wrote: >>> On Tue, May 01, 2012 at 08:37:09PM +0100, Daniel Stone wrote: +     if (xkb_state_mod_name_is_active(xkb_state, "Mod

[PATCH] window: fix check of cursor image load result

2012-05-08 Thread Rafal Mielniczuk
--- clients/window.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/window.c b/clients/window.c index b47e969..695fc89 100644 --- a/clients/window.c +++ b/clients/window.c @@ -665,7 +665,7 @@ create_cursors(struct display *display) for (i = 0; i < coun

Re: [PATCH 1/4] Port Wayland clients to new xkbcommon API

2012-05-08 Thread Kristian Høgsberg
On Tue, May 8, 2012 at 12:26 PM, Daniel Stone wrote: > Hi, > > On 7 May 2012 21:01, Kristian Høgsberg wrote: >> On Tue, May 01, 2012 at 08:37:09PM +0100, Daniel Stone wrote: >>> +     if (xkb_state_mod_name_is_active(xkb_state, "Mod1", >>> +                                      (XKB_STATE_DEPRESS

Re: [PATCH v4 0/5] Convert input co-ordinates to fixed-point

2012-05-08 Thread Kristian Høgsberg
On Tue, May 8, 2012 at 12:17 PM, Daniel Stone wrote: > Hi, > Hopefully this patchset solves all the concerns that came up > previously.  wl_signed_24_8_t has been renamed to wl_fixed_t, and is > still an int32_t under the hood, but all users have been audited for > implicit conversions.  I also ch

Website missing anything? / Patch formatting / Moved branches

2012-05-08 Thread darxus
1) Is the Wayland website in need of any changes? I have commit access now, so if there are any changes you feel it needs please do post them as patches to this list. Against http://cgit.freedesktop.org/wayland/wayland-web/ . After running them through an HTML validator. 2) When posting patche

Re: [PATCH 1/4] Port Wayland clients to new xkbcommon API

2012-05-08 Thread Daniel Stone
Hi, On 8 May 2012 18:09, Tiago Vignatti wrote: > On 05/08/2012 07:26 PM, Daniel Stone wrote: >> v2 coming soon I guess, sorry everyone who's been trying to compile >> Weston in the meantime. ;) I've pushed a for-weston branch of >> libxkbcommon which will still build with master. > > sorry, so wh

Re: [PATCH 1/4] Port Wayland clients to new xkbcommon API

2012-05-08 Thread Tiago Vignatti
On 05/08/2012 07:26 PM, Daniel Stone wrote: v2 coming soon I guess, sorry everyone who's been trying to compile Weston in the meantime. ;) I've pushed a for-weston branch of libxkbcommon which will still build with master. sorry, so what builds with libxkbcommon master now? Tiago

Re: [PATCH 1/4] Port Wayland clients to new xkbcommon API

2012-05-08 Thread Daniel Stone
Hi, On 8 May 2012 00:30, Bill Spitzak wrote: > Kristian Høgsberg wrote: >> The original code tests that shift and control are >> pressed, but it really should test modifers == SHIFT | CONTROL, that >> is, that those and *only* those modifiers are down. > > Watch out that this is only testing what

Re: [PATCH 1/4] Port Wayland clients to new xkbcommon API

2012-05-08 Thread Daniel Stone
Hi, On 7 May 2012 21:01, Kristian Høgsberg wrote: > On Tue, May 01, 2012 at 08:37:09PM +0100, Daniel Stone wrote: >> +     if (xkb_state_mod_name_is_active(xkb_state, "Mod1", >> +                                      (XKB_STATE_DEPRESSED | >> XKB_STATE_LATCHED))) >> +             modifiers |= MO

[PATCH weston v4 3/3] Convert wire input co-ordinates to fixed-point

2012-05-08 Thread Daniel Stone
To add greater precision when working with transformed surfaces and/or high-resolution input devices. Signed-off-by: Daniel Stone --- clients/simple-touch.c | 19 +++--- clients/window.c | 22 src/compositor-wayland.c |8 +++-- src/compositor.c | 56 +

[PATCH weston v4 2/3] Convert internal input co-ordinates to GLfloat

2012-05-08 Thread Daniel Stone
Change all client motion handlers to take GLfloat for co-ordinates, rather than int32_t. Signed-off-by: Daniel Stone --- clients/desktop-shell.c |4 ++-- clients/dnd.c |6 +++--- clients/eventdemo.c |4 ++-- clients/flower.c|2 +- clients/gears.c |

[PATCH weston v4 1/3] Add fixed-point versions of weston_surface_{to, from}_global

2012-05-08 Thread Daniel Stone
To be used by input code, paralleling the existing integer versions. Enlarge the surface_{to,from}_global_float input types to GLfloat to avoid losing precision. Signed-off-by: Daniel Stone --- src/compositor.c | 38 +++--- src/compositor.h | 10 +- 2

[PATCH wayland v4 2/2] Input: Convert pointer co-ordinates to signed_24_8

2012-05-08 Thread Daniel Stone
This offers more precision when using devices like tablets, and also for transformed surfaces. Signed-off-by: Daniel Stone --- protocol/wayland.xml | 24 src/data-device.c| 11 +++ src/wayland-server.c | 10 +- src/wayland-server.h | 18 ++

[PATCH wayland v4 1/2] Add support for signed 24.8 decimal numbers

2012-05-08 Thread Daniel Stone
'fixed' is a signed decimal type which offers a sign bit, 23 bits of integer precision, and 8 bits of decimal precision. This is exposed as an opaque struct with conversion helpers to and from double and int on the C API side. Signed-off-by: Daniel Stone --- src/Makefile.am |4 ++--

[PATCH v4 0/5] Convert input co-ordinates to fixed-point

2012-05-08 Thread Daniel Stone
Hi, Hopefully this patchset solves all the concerns that came up previously. wl_signed_24_8_t has been renamed to wl_fixed_t, and is still an int32_t under the hood, but all users have been audited for implicit conversions. I also changed the macros to be static inline functions, but since all ty

Wayland is not starting on ARM.

2012-05-08 Thread syed.hashmi
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-platforms=wayland,x11,drm --with-x=yes --disable-osmesa --disabl

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

2012-05-08 Thread Kristian Høgsberg
On Fri, May 4, 2012 at 4:40 AM, wrote: > Hi, All, >  I did some porting of Chromium browser based on Aura. Now it could run > on Weston and display web page by input URL. I attached some my screen > shot pictures for your reference. I just wanted to chime in too and say that this is really great

Re: GTK Ubuntu Precise packaging success

2012-05-08 Thread darxus
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 as X11 client. I >would like to share som

Re: [PATCH] build: Tighten mtdev dependency to reflect requirement

2012-05-08 Thread Kristian Høgsberg
On Tue, May 08, 2012 at 02:49:15PM +0100, Rob Bradford wrote: > From: Rob Bradford > > The mtdev_new_open symbol was added in 1.1.0. Thanks, applied. Kristian > --- > configure.ac |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/configure.ac b/configure.ac > inde

Re: [PATCH wayland] event-loop: fix conditional checking

2012-05-08 Thread Kristian Høgsberg
On Tue, May 08, 2012 at 02:58:02PM +0300, Tiago Vignatti wrote: > Introduced in: > commit 80f4f0d5127ebc8d5e35969a29691cf61a79997d > Author: Jonas Ådahl > Date: Wed Mar 21 10:31:24 2012 +0100 Thanks, committed. > Signed-off-by: Tiago Vignatti > --- > src/event-loop.c |2 +- >

Re: [PATCH] build: Tighten mtdev dependency to reflect requirement

2012-05-08 Thread Tiago Vignatti
On 05/08/2012 04:49 PM, Rob Bradford wrote: From: Rob Bradford The mtdev_new_open symbol was added in 1.1.0. woo, how did you spot that? Version 1.1.0 was released back in 2010, which's kinda old: commit 9e3daba37d1d15c99a41a2d838bf683934cc7077 Author: Henrik Rydberg Date: Wed Dec 22 18:

[PATCH] build: Tighten mtdev dependency to reflect requirement

2012-05-08 Thread Rob Bradford
From: Rob Bradford The mtdev_new_open symbol was added in 1.1.0. --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 26c4283..888152b 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ AC_ARG_ENABLE(drm-composit

Re: GTK Ubuntu Precise packaging success

2012-05-08 Thread Alex Wu
Hi darxus, I installed your PPA on my ubuntu 12.04 desktop and followed your directions on https://launchpad.net/~darxus/+archive/wayland-gtk to run the gtk apps you listed both on native weston and weston as X11 client. I would like to share some information of my trying. 1. gtk apps will c

Re: [PATCH] wayland: fix crash when /usr/share/wayland/left_ptr.png is not available

2012-05-08 Thread Rob Bradford
I'll sort this out. Cheers, Rob On 8 May 2012 00:33, Scott Moreau wrote: > > On Mon, May 7, 2012 at 2:46 PM, Kristian Høgsberg > wrote: >> >> On Sat, May 05, 2012 at 06:37:18PM -0700, Shawn Landden wrote: >> >> What we really need here is to make GTK+ use libXcursor as well, as it >> is it rel

[PATCH wayland] event-loop: fix conditional checking

2012-05-08 Thread Tiago Vignatti
Introduced in: commit 80f4f0d5127ebc8d5e35969a29691cf61a79997d Author: Jonas Ådahl Date: Wed Mar 21 10:31:24 2012 +0100 Signed-off-by: Tiago Vignatti --- src/event-loop.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event-loop.c b/src/event-loop.c ind

Re: Wayland on Embedded

2012-05-08 Thread Abhijit Potnis
On Tue, May 8, 2012 at 5:13 PM, Pekka Paalanen wrote: > On Tue, 8 May 2012 17:02:31 +0530 > Abhijit Potnis wrote: > > > On Tue, May 8, 2012 at 3:54 PM, Pekka Paalanen > wrote: > > > > > On Tue, 8 May 2012 15:34:58 +0530 > > > Abhijit Potnis wrote: > > > > > > > Hello , > > > > > > > > I am try

Re: Wayland on Embedded

2012-05-08 Thread Pekka Paalanen
On Tue, 8 May 2012 17:02:31 +0530 Abhijit Potnis wrote: > On Tue, May 8, 2012 at 3:54 PM, Pekka Paalanen wrote: > > > On Tue, 8 May 2012 15:34:58 +0530 > > Abhijit Potnis wrote: > > > > > Hello , > > > > > > I am trying to run Wayland on an ARM based board over X, just as we run > > > Wayland/

Re: Wayland on Embedded

2012-05-08 Thread Abhijit Potnis
On Tue, May 8, 2012 at 3:54 PM, Pekka Paalanen wrote: > On Tue, 8 May 2012 15:34:58 +0530 > Abhijit Potnis wrote: > > > Hello , > > > > I am trying to run Wayland on an ARM based board over X, just as we run > > Wayland/Weston on a x86 Linux Desktop Machine. I doubt if compiling > Wayland > > an

Re: Wayland on Embedded

2012-05-08 Thread Alex Bradbury
On 8 May 2012 11:24, Pekka Paalanen wrote: > If you can get a GL ES 2 context by EGL on X on your platform, then I > guess it could work. If your system does not use Mesa for 3D drivers, > then you won't get GL support for Wayland clients. Pekka is being modest and not pointing to his very useful

Re: Wayland on Embedded

2012-05-08 Thread Pekka Paalanen
On Tue, 8 May 2012 15:34:58 +0530 Abhijit Potnis wrote: > Hello , > > I am trying to run Wayland on an ARM based board over X, just as we run > Wayland/Weston on a x86 Linux Desktop Machine. I doubt if compiling Wayland > and its dependencies for ARM platform and building Weston so as to run on

Wayland on Embedded

2012-05-08 Thread Abhijit Potnis
Hello , I am trying to run Wayland on an ARM based board over X, just as we run Wayland/Weston on a x86 Linux Desktop Machine. I doubt if compiling Wayland and its dependencies for ARM platform and building Weston so as to run on X11 back-end would work. Or do I have to write a new back-end for We

Re: transient surfaces for xwayland and tooltip love

2012-05-08 Thread Tiago Vignatti
On 05/08/2012 02:21 AM, Bill Spitzak wrote: The server cannot be in charge of focus, because you will end up with the X mess of clients guessing what type of window gets the correct focus. Instead the client should be able to set the focus for any input device to any of it's windows. The server