[PATCH weston 3/3] Remove Intel from text-cursor-position.c copyright header.

2012-06-01 Thread Scott Moreau
--- src/text-cursor-position.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/text-cursor-position.c b/src/text-cursor-position.c index ef1085a..b181b5f 100644 --- a/src/text-cursor-position.c +++ b/src/text-cursor-position.c @@ -1,5 +1,4 @@ /* - * Copyright © 2011 I

[PATCH weston 2/2] Drop user input detection from text cursor position implementation.

2012-06-01 Thread Scott Moreau
--- clients/window.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/clients/window.c b/clients/window.c index 88bc8a4..72becab 100644 --- a/clients/window.c +++ b/clients/window.c @@ -144,7 +144,6 @@ struct window { int resize_needed; int type;

[PATCH weston 1/2] Convert text cursor position protocol to use fixed types.

2012-06-01 Thread Scott Moreau
--- clients/window.c |4 +++- protocol/text-cursor-position.xml |4 ++-- src/compositor.c | 18 +- src/compositor.h |8 +--- src/text-cursor-position.c|2 +- 5 files changed, 20 insertions(+), 16 delet

Re: [PATCH weston] xwm: don't try to remove nonexistent frame

2012-06-01 Thread Tiago Vignatti
On 06/01/2012 07:05 PM, Tiago Vignatti wrote: On 06/01/2012 06:29 PM, Kristian Høgsberg wrote: When does this happen? with any X window that Weston maps as transient surface. I tested myself with those that pops up in gtk3-demo-application and Firefox. oh yeah, important to mention that the

Re: [PATCH weston] xwm: don't try to remove nonexistent frame

2012-06-01 Thread Tiago Vignatti
On 06/01/2012 06:29 PM, Kristian Høgsberg wrote: When does this happen? with any X window that Weston maps as transient surface. I tested myself with those that pops up in gtk3-demo-application and Firefox. Tiago ___ wayland-devel mailing list wa

Re: [PATCH weston] xwm: don't try to remove nonexistent frame

2012-06-01 Thread Kristian Høgsberg
When does this happen? Kristian On Fri, Jun 1, 2012 at 8:51 AM, Tiago Vignatti wrote: > Signed-off-by: Tiago Vignatti > --- >  src/xwayland/window-manager.c |    3 +++ >  1 file changed, 3 insertions(+) > > diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c > index 92601

Re: [PATCH xserver] xwayland: track axis type conversion

2012-06-01 Thread Kristian Høgsberg
On Fri, Jun 01, 2012 at 03:51:53PM +0300, Tiago Vignatti wrote: > Signed-off-by: Tiago Vignatti > --- > hw/xfree86/xwayland/xwayland-input.c |7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) Ah, yup, thanks, Kristian > diff --git a/hw/xfree86/xwayland/xwayland-input.c > b/hw/xf

Re: [PATCH weston 4/9] compositor-wayland: Delay seat creation

2012-06-01 Thread Kristian Høgsberg
On Fri, Jun 01, 2012 at 12:14:01PM +0100, Daniel Stone wrote: > We'll get a rash of seats added when we run our first wl_display_iterate > across the parent display, but won't actually be ready to create them. > Create a new pending_seats array which holds the IDs of any seats we get > during displ

Re: [PATCH weston 1/2] compositor-android: fix build flags

2012-06-01 Thread Kristian Høgsberg
On Fri, Jun 01, 2012 at 12:20:24PM +0300, Pekka Paalanen wrote: > When adding a C++ file to the build, I forgot to set CXXFLAGS for it, > triggering the error: > > android-framebuffer.h:26:21: fatal error: EGL/egl.h: No such file or > directory > > I never hit this, because I have EGL headers ins

Re: compiling weston error

2012-06-01 Thread Pekka Paalanen
On Fri, 1 Jun 2012 07:10:47 -0700 (PDT) yan.w...@linux.intel.com wrote: > Hi, All, > I found there is compiling error by default configuration of Weston: > CXXandroid-framebuffer.lo > In file included from android-framebuffer.cpp:25:0: > android-framebuffer.h:26:21: fatal error: EGL/egl.h:

compiling weston error

2012-06-01 Thread yan . wang
Hi, All, I found there is compiling error by default configuration of Weston: CXXandroid-framebuffer.lo In file included from android-framebuffer.cpp:25:0: android-framebuffer.h:26:21: fatal error: EGL/egl.h: No such file or directory I have to use --disable-android-compositor to avoid

Re: [PATCH weston 1/2] compositor-android: fix build flags

2012-06-01 Thread Tiago Vignatti
On 06/01/2012 12:20 PM, Pekka Paalanen wrote: When adding a C++ file to the build, I forgot to set CXXFLAGS for it, triggering the error: android-framebuffer.h:26:21: fatal error: EGL/egl.h: No such file or directory I never hit this, because I have EGL headers installed also in my system, rath

[PATCH xserver] xwayland: track axis type conversion

2012-06-01 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xwayland-input.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland-input.c b/hw/xfree86/xwayland/xwayland-input.c index 734e2c1..12bc4f9 100644 --- a/hw/xfree86/xwayland/xwayland-input.

[PATCH weston] xwm: don't try to remove nonexistent frame

2012-06-01 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 92601e5..acec915 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -568,6 +

[PATCH weston 9/9] Add support for wl_keyboard::keymap events

2012-06-01 Thread Daniel Stone
These keymap events communicate the keymap from the compositor to the clients via fd passing, rather than having the clients separately compile a map. Signed-off-by: Daniel Stone --- clients/window.c | 106 +++--- src/compositor-wayland.c | 43 +

[PATCH weston 2/9] Brown-paper bag fix for LED

2012-06-01 Thread Daniel Stone
The O_RDWR change got lost in a rebase, and as Peter suggested as well, make sure to set EVDEV_KEYBOARD if the device has EV_LED. Signed-off-by: Daniel Stone --- src/evdev.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 8439eda..23d

[PATCH weston 8/9] Parse XKB config options in weston_compositor_init

2012-06-01 Thread Daniel Stone
Signed-off-by: Daniel Stone --- src/compositor.c | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index ef3802d..676eebb 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2287,9 +2287,6 @@ weston_c

[PATCH weston 7/9] Pass config_file through to weston_compositor_init

2012-06-01 Thread Daniel Stone
This allows us to do config parsing there. Signed-off-by: Daniel Stone --- src/compositor-android.c | 11 +++ src/compositor-drm.c | 11 +++ src/compositor-wayland.c | 10 ++ src/compositor-x11.c | 10 ++ src/compositor.c | 10 +-

[PATCH weston 6/9] Pass argc and argv through to weston_compositor_init

2012-06-01 Thread Daniel Stone
Allowing it to do option parsing as well. Signed-off-by: Daniel Stone --- src/compositor-android.c |6 +++--- src/compositor-drm.c |7 --- src/compositor-wayland.c |8 +--- src/compositor-x11.c |8 +--- src/compositor.c |5 - src/compositor.h

[PATCH weston 5/9] compositor-x11: Generate our own keymap

2012-06-01 Thread Daniel Stone
Instead of mangling the names we've stored in the compositor, generate our own keymap and pass that to weston_seat_init_keyboard. Signed-off-by: Daniel Stone --- src/compositor-x11.c | 91 -- 1 file changed, 51 insertions(+), 40 deletions(-) dif

[PATCH weston 3/9] compositor-wayland: Fix seat vs. seat confusion

2012-06-01 Thread Daniel Stone
We were accidentally trying to initialise the wl_seat we just got from our host server as a weston_seat, rather than the weston_seat we set up earlier ... Signed-off-by: Daniel Stone --- src/compositor-wayland.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compo

[PATCH weston 4/9] compositor-wayland: Delay seat creation

2012-06-01 Thread Daniel Stone
We'll get a rash of seats added when we run our first wl_display_iterate across the parent display, but won't actually be ready to create them. Create a new pending_seats array which holds the IDs of any seats we get during display initialisation, and then add them when we're ready. Signed-off-by:

[PATCH weston 1/9] Fix binding modifier lookup

2012-06-01 Thread Daniel Stone
Whoops, lost half of the shuffling around of masks and indexes. Signed-off-by: Daniel Stone --- src/compositor.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 311bb15..d450ac3 100644 --- a/src/compositor.c +++ b/src/composi

[PATCH wayland 1/1] Add wl_keyboard::keymap event

2012-06-01 Thread Daniel Stone
With this event, the compositor generates one canonical keymap for all clients, and then sends an mmap()able fd over the wire, rather than all the clients generating possibly disparate keymaps. Signed-off-by: Daniel Stone --- protocol/wayland.xml | 18 ++ 1 file changed, 18 ins

[PATCH 0/10] Keymap events and input fixes from last push

2012-06-01 Thread Daniel Stone
Hi, This series includes the resubmitted keymap events, as well as fixups for the key bindings and LED events, which got broken during rebasing - sorry. This also includes two fixups for the nested Wayland compositor which restore full functionality. It also removes the input_init patch in favour

Re: [PATCH v4 2/2] Weston: Replace fprintf() by weston_log()

2012-06-01 Thread Pekka Paalanen
On Thu, 31 May 2012 22:48:44 +0200 Martin Minarik wrote: > Now it is possible removing include stdio as well. > --- > src/compositor-drm.c | 105 > - > src/compositor-openwfd.c | 38 +++--- > src/compositor-wayland.c | 27 +

Re: [PATCH v4 1/2] Weston: log.c, log.h

2012-06-01 Thread Pekka Paalanen
Hi Martin, comments inline as usual. On Thu, 31 May 2012 21:48:23 +0200 Martin Minarik wrote: > This is logging functionality for weston compositor. > > It handles: > messages coming from libwayland-server from wl_log() > messages from weston itself, from weston_log() > > Introduce --log op

[PATCH weston 2/2] build: introduce GCC_CXXFLAGS

2012-06-01 Thread Pekka Paalanen
The patch "compositor-android: fix build flags" started using GCC_CFLAGS for C++ files, too. That lead to the following warnings when building a C++ file: cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ cc1plus: warning: command line option "-Wmi

[PATCH weston 1/2] compositor-android: fix build flags

2012-06-01 Thread Pekka Paalanen
When adding a C++ file to the build, I forgot to set CXXFLAGS for it, triggering the error: android-framebuffer.h:26:21: fatal error: EGL/egl.h: No such file or directory I never hit this, because I have EGL headers installed also in my system, rather than only in $prefix. Fix this by setting th

Re: [PATCH weston v2] Text cursor position protocol follow-up.

2012-06-01 Thread Scott Moreau
On Fri, Jun 1, 2012 at 1:30 AM, Pekka Paalanen wrote: > On Thu, 31 May 2012 14:02:48 -0600 > Scott Moreau wrote: > > > * Drop user input detection since cursor position may change when > pasting text, > > for example. > > * Use fixed type in protocol. > > Hi Scott, > > some inline comments I bel

Re: [PATCH weston v2] Text cursor position protocol follow-up.

2012-06-01 Thread Pekka Paalanen
On Thu, 31 May 2012 14:02:48 -0600 Scott Moreau wrote: > * Drop user input detection since cursor position may change when pasting > text, > for example. > * Use fixed type in protocol. Hi Scott, some inline comments I below. > --- > > Changed int to fixed in protocol/text-cursor-position.xm

Re: Build Webkit with Waylnad backend and wayland plugins

2012-06-01 Thread Mika Boström
On 05/31/12 16:56, suranjana.bhattacha...@wipro.com wrote: > Hello, > > Thanks for the help! I am making changes in the PluginViewGtk.cpp Sorry, can't help you with that. I used the dummy NPAPI implementation (PluginViewNone) for a reason: it was the same as used in QtWebKit when building for Wa