Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-10 Thread Pekka Paalanen
On Fri, 10 Aug 2012 13:23:34 +0800 Juan Zhao juan.j.z...@linux.intel.com wrote: Thanks for your reply. Still don't understand why not implement wl_shell on tablet_shell to customize it for a embeded system. Sorry, I don't think I can explain it any better, but I'll try. wl_shell interfaces

Re: [PATCH weston] shell: Don't draw shadows for maximized windows.

2012-08-10 Thread Pekka Paalanen
On Thu, 9 Aug 2012 12:44:43 -0400 Kristian Høgsberg hoegsb...@gmail.com wrote: On Wed, Aug 08, 2012 at 02:43:21PM +0300, Pekka Paalanen wrote: Krh, was the the idea of first sending all new surface attributes, and then committing those at once on wl_surface::attach rejected, or was this

[PATCH] shell: show input panel on configure, if activated

2012-08-10 Thread Philipp Brüschweiler
--- src/shell.c | 29 + 1 Datei geändert, 17 Zeilen hinzugefügt(+), 12 Zeilen entfernt(-) diff --git a/src/shell.c b/src/shell.c index 9c8a8a9..670cfd6 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2520,13 +2520,22 @@ unlock(struct wl_listener *listener, void *data)

[PATCH v2] shell: show input panel on configure, if activated

2012-08-10 Thread Philipp Brüschweiler
--- src/shell.c | 30 ++ 1 Datei geändert, 18 Zeilen hinzugefügt(+), 12 Zeilen entfernt(-) diff --git a/src/shell.c b/src/shell.c index 9c8a8a9..5d4fb41 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2520,13 +2520,22 @@ unlock(struct wl_listener *listener, void *data)

Weston xwm as a client

2012-08-10 Thread Tiago Vignatti
Hi. We were wondering about splitting the XWM from Weston into its own process. This email discusses that. We have Xwayland as one process and weston + xwm as another on the current architecture. Xwayland is a Wayland client and it's the X server. xwm is a module of the Wayland server and a

weston 0.95 on 945GME using i915 drm

2012-08-10 Thread jegde jedge
Please point me in the right direction to get weston up from the virtual terminal. I have 0.95 currently working under X, but not DRM or wayland from a virtual tty. ( I am new, how do you refer to the vtty wayland EGL platform? ) ( I have mesa master currently running mesa egl demos from the tty

Re: weston 0.95 on 945GME using i915 drm

2012-08-10 Thread Pekka Paalanen
On Fri, 10 Aug 2012 08:15:01 -0400 jegde jedge bubba...@gmail.com wrote: Please point me in the right direction to get weston up from the virtual terminal. I have 0.95 currently working under X, but not DRM or wayland from a virtual tty. ( I am new, how do you refer to the vtty wayland

Re: [PATCH] shell: show input panel on configure, if activated

2012-08-10 Thread Kristian Høgsberg
On Fri, Aug 10, 2012 at 10:42:54AM +0200, Philipp Brüschweiler wrote: I'm not sure what this is fixing (it's always good to point that out in the commit message). We don't want to show the input panel on configure, ie when the keyboard attaches a buffer to the surface. We only show it when some

Re: [PATCH] shell: show input panel on configure, if activated

2012-08-10 Thread Philipp Brüschweiler
Yes, sorry about that. I should have written that into the commit message. I'm not sure if you'd categorize this patch as a fix or a feature. Try the following: - start an editor - click into a text field - start a keyboard Notice that the keyboard doesn't appear until you click the other input

[PATCH 0/5] Fix text_model/input_method wl_seat relation

2012-08-10 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com Some smaller text_model related cleanups. Add wl_seat and wl_surface arguments to the text_model_activate request. Assign the text_model to the wl_seat and listen to focus change events to deactivate the text_model when the wl_surface looses

[PATCH 3/5] text: Add activate/deactivate events

2012-08-10 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com Let the client know when a text model gets activated or deactiavted. --- clients/editor.c | 45 + protocol/text.xml | 4 +++- src/text-backend.c | 10 ++ 3 files changed, 42 insertions(+), 17

[PATCH 4/5] text: Assign text_model to a wl_seat

2012-08-10 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com Add a wl_seat argument to the activate and deactivate requests of text_method. On activation a text_model gets assigned to the input_method of the wl_seat specified in the activate request. --- clients/editor.c | 28 +++---

[PATCH 5/5] text: Deactivate text_model on keyboard focus lost

2012-08-10 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com Assign a surface to a text_model on the text_model_activate request and deactivate the text_model when the surface looses the keyboard focus. --- src/text-backend.c | 43 +++ 1 file changed, 43 insertions(+)

Re: weston 0.95 on 945GME using i915 drm

2012-08-10 Thread jegde jedge
Thank you for your help. It looks like I have a dri/mesa issue to resolve before I can run weston... Is there a resource that shows how to get mesa egl/dri/drm working on i915? I rebuilt (make clean, make, make install) mesa, then pixman, then cairo, then weston. When I recompile mesa with

Re: weston 0.95 on 945GME using i915 drm

2012-08-10 Thread Pekka Paalanen
On Fri, 10 Aug 2012 11:11:14 -0400 jegde jedge bubba...@gmail.com wrote: I rebuilt (make clean, make, make install) mesa, then pixman, then cairo, then weston. Hi, only Mesa rebuild is needed at this point. When I recompile mesa with --disable-gallium-egl, I now fail where gallium works:

Re: weston 0.95 on 945GME using i915 drm

2012-08-10 Thread jegde jedge
Thanks again. I Really appreciate the help. I wiped everything, started from scratch, and followed the build instructions at http://wayland.freedesktop.org/building.html verbatim. With this mesa build I cannot get any mesa-demo-8.0.1/src/egl/opengl/demo_screen example to run from the tty

Re: [PATCH 4/5] text: Assign text_model to a wl_seat

2012-08-10 Thread Philipp Brüschweiler
This will not work with multiple seats, right? I guess the input_method struct would have to be broken up into a 'global' part (containing the global object bindings) and a per seat part. Or am I missing something? Cheers, Philipp On Fri, Aug 10, 2012 at 4:47 PM, Jan Arne Petersen

Re: [PATCH 4/5] text: Assign text_model to a wl_seat

2012-08-10 Thread Jan Arne Petersen
Hi, On 08/10/2012 08:32 PM, Philipp Brüschweiler wrote: This will not work with multiple seats, right? I guess the input_method struct would have to be broken up into a 'global' part (containing the global object bindings) and a per seat part. Or am I missing something? It should work with

Re: weston 0.95 on 945GME using i915 drm

2012-08-10 Thread jegde jedge
Looks like it is failing in: ~/mesa/egl/main/eglapi.c::eglCreatePBufferSurface() ~/cairo/src/cairo_egl_context.c:: cairo_egl_device_create() ~/weston/clients/window.c::init_egl() ~/weston/clients/window.c::display_create() This means that all the boilerplate egl initialization has completed

Weston doesn't work with gl enabled cairo on radeon

2012-08-10 Thread darxus
Ran weston under X, with radeon drivers. Weston ran, desktop shell failed: failed to get cairo egl argb device failed to create display: No such file or directory libEGL debug: Display 0x82fce0 is destroyed with resources [20:52:15.385] libwayland: disconnect from client 0x1de6ff0

Re: [PATCH 2/2 weston] toytoolkit: Don't draw shadows for maximized windows.

2012-08-10 Thread Bill Spitzak
This looks really messy and still makes the assumption that the only reason for edges to be removed is because of maximize. It is also completely different than how fullscreen is done, even though that should be identical except the titlebar is also removed for fullscreen. Based on the latest

Re: Weston doesn't work with gl enabled cairo on radeon

2012-08-10 Thread Nerdopolis
darxus@... writes: Is this a bug in weston or cairo? IIt's a bug in Mesa. Try reverting mesa to commit 102617bc5206e459bb1743d2d72341dbfe77bc58 That's what I had to do. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org