Re: Can't compile newest wayland due to mesa changes?

2012-07-20 Thread Scott Moreau
On Sat, Jul 21, 2012 at 12:17 AM, Bill Spitzak wrote: > On 07/20/2012 10:40 PM, Bill Spitzak wrote: > > However (sigh) now it fails with: >> >> compositor.c: In function ‘weston_surface_attach’: >> compositor.c:788:8: error: ‘EGL_TEXTURE_Y_UV_WL’ undeclared (first use >> in this function) >> com

Re: Can't compile newest wayland due to mesa changes?

2012-07-20 Thread Bill Spitzak
On 07/20/2012 10:40 PM, Bill Spitzak wrote: However (sigh) now it fails with: compositor.c: In function ‘weston_surface_attach’: compositor.c:788:8: error: ‘EGL_TEXTURE_Y_UV_WL’ undeclared (first use in this function) compositor.c:788:8: note: each undeclared identifier is reported only once fo

Re: Can't compile newest wayland due to mesa changes?

2012-07-20 Thread Scott Moreau
On Fri, Jul 20, 2012 at 11:40 PM, Bill Spitzak wrote: > On 07/20/2012 10:30 PM, Bill Spitzak wrote: > > However I now cannot build weston: >> >>CCLD desktop-shell.la >> /bin/sed: can't read /lib/libglapi.la: No such file or directory >> libtool: link: `/lib/libglapi.la' is not a valid libt

Re: Can't compile newest wayland due to mesa changes?

2012-07-20 Thread Bill Spitzak
On 07/20/2012 10:30 PM, Bill Spitzak wrote: However I now cannot build weston: CCLD desktop-shell.la /bin/sed: can't read /lib/libglapi.la: No such file or directory libtool: link: `/lib/libglapi.la' is not a valid libtool archive make[4]: *** [desktop-shell.la] Error 1 There is in fact a

Re: Can't compile newest wayland due to mesa changes?

2012-07-20 Thread Bill Spitzak
On 07/16/2012 11:48 PM, Juan Zhao wrote: CC libgbm_dri_la-gbm_dri.lo In file included from backends/dri/gbm_dri.c:48:0: backends/dri/../../../egl/wayland/wayland-drm/wayland-drm.h:5:41: fatal error: wayland-drm-server-protocol.h: No such file or directory Yes, https://bugs.freedesktop.

[PATCH weston 3/3] xwm: use last focused window for guessing transient parent

2012-07-20 Thread Tiago Vignatti
On X the global absolute coordinates are sent in ConfigureNotify and transient windows are mapped exactly on that position. On Wayland we don't have the concept of global coordinates, and that's a problem for transient surfaces without transient_for set because they rely on such hint for setting th

[PATCH weston 2/3] xwm: Fix transient positioning

2012-07-20 Thread Tiago Vignatti
Commit eaee7841 took out the configure positioning of windows. This patch brings it back and addresses also logic for resizing and sub-menus, that was not covered on that commit. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c | 21 +++-- 1 file changed, 19 inse

[PATCH weston 1/3] xwm: Initialize window decoration always as !override

2012-07-20 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index e2e2ba3..e81a229 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.

Re: [PATCH weston 2/2] shell: Remove unused pointer_end_grab

2012-07-20 Thread Kristian Høgsberg
On Fri, Jul 20, 2012 at 09:43:48PM +0300, Tiago Vignatti wrote: > On 07/20/2012 07:41 PM, Tiago Vignatti wrote: > >shell_grab_end already does that for us. > > > >Signed-off-by: Tiago Vignatti > >--- > > src/shell.c |2 -- > > 1 file changed, 2 deletions(-) > > > >diff --git a/src/shell.c b/s

Re: [PATCH weston 2/2] shell: Remove unused pointer_end_grab

2012-07-20 Thread Tiago Vignatti
On 07/20/2012 07:41 PM, Tiago Vignatti wrote: shell_grab_end already does that for us. Signed-off-by: Tiago Vignatti --- src/shell.c |2 -- 1 file changed, 2 deletions(-) diff --git a/src/shell.c b/src/shell.c index 344c690..ad26ce6 100644 --- a/src/shell.c +++ b/src/shell.c @@ -810,7 +

[PATCH weston 2/2] shell: Remove unused pointer_end_grab

2012-07-20 Thread Tiago Vignatti
shell_grab_end already does that for us. Signed-off-by: Tiago Vignatti --- src/shell.c |2 -- 1 file changed, 2 deletions(-) diff --git a/src/shell.c b/src/shell.c index 344c690..ad26ce6 100644 --- a/src/shell.c +++ b/src/shell.c @@ -810,7 +810,6 @@ move_grab_button(struct wl_pointer_grab *

[PATCH weston 1/2] xwm: Don't try to change frame cursor when there's no decoration

2012-07-20 Thread Tiago Vignatti
It was causing some artifacts on chrome. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index e131238..e2e2ba3 100644 --- a/src/xwayland/win

[PATCH xserver 2/2] xwayland: Remove unused grab fields

2012-07-20 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xwayland-private.h |2 -- 1 file changed, 2 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland-private.h b/hw/xfree86/xwayland/xwayland-private.h index aaa77b4..f697b60 100644 --- a/hw/xfree86/xwayland/xwayland-private.h +++ b/hw/xfr

[PATCH xserver 1/2] xwayland: make sure release events are posted only to wm window

2012-07-20 Thread Tiago Vignatti
An implicit passive grab is always installed (ActivateImplicitGrab) when button is down and, on the code in question, the ButtonPress event is sent to the XWM. So from now on, all the events will be delivered only to the XWM window because of the grab; that's what we want. Later, when the button is

Re: [wayland-devel] RFC: Ideas to run weston on nvidia/ATI blob with hardware acceleration

2012-07-20 Thread microcai
Status updata: weston now can create accelerated GL window using my GLX powerd EGL but weston-desktop-shell segfautl, so currently bland screen. :) Will dig into it . 2012/7/20 Scott Moreau : >> >> Personally I feel this is necessary if wayland is going to succeed. > > > Wayland is already su