Re: [PATCH 1/3] shell: restore app on non default and unplugged output

2013-12-03 Thread Ander Conselvan de Oliveira
Ander Thanks. -Original Message- From: Ander Conselvan de Oliveira [mailto:conselv...@gmail.com] Sent: Tuesday, December 03, 2013 11:06 PM To: Zhang, Xiong Y Cc: wayland-devel@lists.freedesktop.org Subject: Re: [PATCH 1/3] shell: restore app on non default and unplugged output Hi Xiong, I

RE: [PATCH 1/3] shell: restore app on non default and unplugged output

2013-12-03 Thread Zhang, Xiong Y
il.com] Sent: Tuesday, December 03, 2013 11:06 PM To: Zhang, Xiong Y Cc: wayland-devel@lists.freedesktop.org Subject: Re: [PATCH 1/3] shell: restore app on non default and unplugged output Hi Xiong, It seems that we need different logic for moving the views depending on the surface role, so

Re: [PATCH 1/3] shell: restore app on non default and unplugged output

2013-12-03 Thread Ander Conselvan de Oliveira
Hi Xiong, It seems that we need different logic for moving the views depending on the surface role, so I'm thinking this code should actually be part of a surface role implementation. For instance, instead of implementing the logic of moving the pointer surface in the shell, that would go in

[PATCH 1/3] shell: restore app on non default and unplugged output

2013-12-02 Thread Xiong Zhang
if the unplugged output isn't the default output, move cursor and APP widow to default output Signed-off-by: Xiong Zhang --- src/shell.c | 190 ++-- 1 file changed, 186 insertions(+), 4 deletions(-) diff --git a/src/shell.c b/src/shell.c i