[PATCH] ecore-wayland: Improve opaque setting logic.

2013-01-04 Thread Alex Wu
Hi, I cooked the patch to improve the opaque setting logic in ecore_wayland. It can significantly help the weston to do more efficient compositing. Modifications including: 1. Update win->region.opaque in ecore_wl_window_update_size, so that the opaque info is synced with the geometry. 2. Add win-

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Bill Spitzak
Pekka Paalanen wrote: On Thu, 27 Dec 2012 11:36:43 -0200 Tiago Vignatti wrote: Hi. I'm afraid that notification windows and tooltips are quite similar. I don't think so, because... It sounds like the important difference is that the compositor positions these windows. Therefore I woul

Re: [PATCH weston 4/5] shell: keyboard focus with sub-surfaces

2013-01-04 Thread Gregory Merchan
On Fri, Jan 4, 2013 at 1:27 PM, Bill Spitzak wrote: > . . . It also means we can have clients that know they are useful when > partially buried and not raise on some clicks, which would be an AMAZING > improvement of usabilty we have been lacking for 25 years now ever since > Windows broke this an

Re: [PATCH weston 4/5] shell: keyboard focus with sub-surfaces

2013-01-04 Thread Bill Spitzak
Pekka Paalanen wrote: If the client wants to assign keyboard focus to a different (sub-)surface than where the compositor is offering it, that is left for a future keyboard focus negotiation protocol, As long as the key events are delivered to *any* client surface then the client can pretend

Re: [PATCH weston 4/5] shell: keyboard focus with sub-surfaces

2013-01-04 Thread Pekka Paalanen
On Fri, 21 Dec 2012 14:04:03 +0200 Pekka Paalanen wrote: > The shell needs to redirect some actions to the parent surface, when > they originally target a sub-surface. This patch implements the > following: > - When the activation binding (left button click) targets a sub-surface, > activate th

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Pekka Paalanen
On Fri, 04 Jan 2013 15:27:55 +0100 Quentin Glidic wrote: > On 04/01/2013 14:25, Pekka Paalanen wrote: > > This is a good start. > > > > There are some further questions, which might affect the needed > > protocol, just food for thought for the future: > > I’m not a big fan of animations but I u

Re: [PATCH] shell: Implement wl_shell_surface_set_notification

2013-01-04 Thread Pekka Paalanen
On Wed, 26 Dec 2012 19:00:25 +0100 Quentin Glidic wrote: > --- > src/shell.c | 141 > ++-- > weston.ini | 5 +++ > 2 files changed, 143 insertions(+), 3 deletions(-) Apart from some style issues, this patch looks a lot like what I expe

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Quentin Glidic
On 04/01/2013 14:25, Pekka Paalanen wrote: > This is a good start. > > There are some further questions, which might affect the needed > protocol, just food for thought for the future: I’m not a big fan of animations but I understand people might want it and it should be handled. > - is it the

Re: Weston on RPi: running as non-root

2013-01-04 Thread Pekka Paalanen
On Fri, 04 Jan 2013 13:47:12 +0200 Mika Boström wrote: > On 01/04/13 13:30, Pekka Paalanen wrote: > > That is strange. Why does Weston need any root access for you? Are you > > perhaps running it via remote login, not local? > > That could be it. I'm doing everything I can over ssh. It's worked

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Pekka Paalanen
On Thu, 27 Dec 2012 11:36:43 -0200 Tiago Vignatti wrote: > Hi. I'm afraid that notification windows and tooltips are quite similar. > > I've built tooltip on toytoolkit using set_transient surface type, using > the inactive method (for not giving focus on it). So instead creating a > new surfa

Re: [PATCH] shell: Implement wl_shell_surface_set_notification

2013-01-04 Thread Pekka Paalanen
On Sat, 29 Dec 2012 17:55:05 -0800 Bill Spitzak wrote: > Oh sh.. it is a "layer". > > > + struct weston_layer notification_layer; > > This is not good. Please figure out a way so that clients can control > the window stacking without having to copy every idea that a client > needs into the

Re: Weston on RPi: running as non-root

2013-01-04 Thread Mika Boström
On 01/04/13 13:30, Pekka Paalanen wrote: > That is strange. Why does Weston need any root access for you? Are you > perhaps running it via remote login, not local? That could be it. I'm doing everything I can over ssh. It's worked marvelously for intel+DRM case, so I naturally wanted the same ease

Re: Weston on RPi: running as non-root

2013-01-04 Thread Pekka Paalanen
On Fri, 04 Jan 2013 10:32:43 +0200 Mika Boström wrote: > On 01/03/13 20:46, Kristian Høgsberg wrote: > >> Yep. Non-root user doesn't have permission to connect to Wayland socket. > > > > Weston will create the socket with permissions so that only the user > > weston runs as can access it. This

Re: libwayland and Java

2013-01-04 Thread Pekka Paalanen
On Fri, 28 Dec 2012 17:16:40 -0600 Jason Ekstrand wrote: > PQ et. al., Hi Jason > I've finally found the time to sit down and draft up my proposal for how > events and requests get handled to make it easier to write language > bindings. As a word of disclaimer, I've tried to pick through the so

Re: Weston on RPi: running as non-root

2013-01-04 Thread Mika Boström
On 01/03/13 20:46, Kristian Høgsberg wrote: >> Yep. Non-root user doesn't have permission to connect to Wayland socket. > > Weston will create the socket with permissions so that only the user > weston runs as can access it. This is deliberate and how the > authentication works. As such, you can