Re: [PATCH weston] Fix a crash when parent surface is NULL.

2012-07-24 Thread Bill Spitzak
I really do not like the idea that x clients get special access to information denined to non-x clients. What is going to happen is programs that require the x/y position are going to use X just so they can access this information. Just send the information to all wayland clients. Tiago Vign

Re: [PATCH weston] Fix a crash when parent surface is NULL.

2012-07-24 Thread Tiago Vignatti
On 07/24/2012 04:47 AM, Dima Ryazanov wrote: It happens to me if I run gedit (using X11), click "Open", then press ESC to dismiss the dialog box. --- yes, this is very likely due the parent guessing workaround. Kristian, I'm checking now the approach of setting a xwm specific surface->configu

[PATCH weston] Fix a crash when parent surface is NULL.

2012-07-23 Thread Dima Ryazanov
It happens to me if I run gedit (using X11), click "Open", then press ESC to dismiss the dialog box. --- src/shell.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/shell.c b/src/shell.c index a9e4d4f..9f201ca 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1246