Re: [PATCH weston v2] clients: If available, prefer top level surfaces for move or rotate

2015-09-11 Thread Bryce Harrington
On Fri, Sep 11, 2015 at 02:27:40PM -0500, Derek Foreman wrote: > This stops us from rotating or moving pop-up menus by instead rotating > their parents. > > This is easiest to see using a multi-seat configuration. > > Signed-off-by: Derek Foreman One minor suggestion below, but no biggie. Revi

[PATCH weston] shell: Make sure we actually have a resource in end_busy_cursor

2015-09-11 Thread Derek Foreman
It's actually possible to get here after the surface has been destroyed, especially when running client apps under valgrind. That probably shouldn't be able to segfault the compositor. Signed-off-by: Derek Foreman --- desktop-shell/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/des

[PATCH weston] clients: ungrab the correct input when menus close

2015-09-11 Thread Derek Foreman
We need to input_ungrab() on the stored input, not the one that caused the release - otherwise bad things can happen in multi-seat environments when a seat that didn't open the menu closes it. To reproduce: configure two seats launch weston terminal open the right click pop up select a menu it

[PATCH weston v2] clients: If available, prefer top level surfaces for move or rotate

2015-09-11 Thread Derek Foreman
This stops us from rotating or moving pop-up menus by instead rotating their parents. This is easiest to see using a multi-seat configuration. Signed-off-by: Derek Foreman --- desktop-shell/shell.c | 21 + 1 file changed, 21 insertions(+) diff --git a/desktop-shell/shell.c

Re: [PATCH weston] shell: When rotating use the parent if available

2015-09-11 Thread Derek Foreman
On 03/09/15 03:26 PM, Bryce Harrington wrote: > On Wed, Sep 02, 2015 at 11:32:05AM -0500, Derek Foreman wrote: >> This prevents the rotation mouse bind from rotating pop-up menus >> directly by using a shell surface's eldest parent instead. >> >> Signed-off-by: Derek Foreman >> --- >> desktop-she

Re: Error when using weston wl_surface_attach

2015-09-11 Thread Pekka Paalanen
On Fri, 11 Sep 2015 17:18:25 +0530 madana gopal wrote: > Hi, > > Thanks. Yes, the working if fine. But somehow, i am getting the above error > and how it can be resolved/settings that can be checked: > > [15:37:21.716] libwayland: unknown object (19), message attach(?oii) > wl_display@1: error

Re: Error when using weston wl_surface_attach

2015-09-11 Thread Pekka Paalanen
On Fri, 11 Sep 2015 14:54:47 +0530 madana gopal wrote: > Hi Team, > > I am working on wayland application. Basically, qt has separate qt wayland > environment , due to which i am able to see qt window. > > In the same process, one more display conneciton is established using > wl_display_connec

Error when using weston wl_surface_attach

2015-09-11 Thread madana gopal
Hi Team, I am working on wayland application. Basically, qt has separate qt wayland environment , due to which i am able to see qt window. In the same process, one more display conneciton is established using wl_display_connect call from ozone wayland. This is being used to output the webpage ren