Re: [PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-20 Thread Dima Ryazanov
On Tue, May 19, 2015 at 11:35 PM, Pekka Paalanen wrote: > On Tue, 19 May 2015 16:41:19 -0700 > Bryce Harrington wrote: > > > On Mon, May 18, 2015 at 11:14:16PM -0700, Dima Ryazanov wrote: > > > When a compositor window is closed, remove the output instead of just > exiting. > > > > > > (The "if

Re: [PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-20 Thread Dima Ryazanov
On Wed, May 20, 2015 at 12:00 AM, Bryce Harrington wrote: > On Wed, May 20, 2015 at 09:39:54AM +0300, Pekka Paalanen wrote: > > On Wed, 20 May 2015 08:34:32 +0200 > > Hardening wrote: > > > > > Le 20/05/2015 01:41, Bryce Harrington a écrit : > > > > On Mon, May 18, 2015 at 11:14:16PM -0700, Dima

Re: [PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-20 Thread Bryce Harrington
On Wed, May 20, 2015 at 09:39:54AM +0300, Pekka Paalanen wrote: > On Wed, 20 May 2015 08:34:32 +0200 > Hardening wrote: > > > Le 20/05/2015 01:41, Bryce Harrington a écrit : > > > On Mon, May 18, 2015 at 11:14:16PM -0700, Dima Ryazanov wrote: > > >> When a compositor window is closed, remove the

Re: [PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-19 Thread Pekka Paalanen
On Wed, 20 May 2015 08:34:32 +0200 Hardening wrote: > Le 20/05/2015 01:41, Bryce Harrington a écrit : > > On Mon, May 18, 2015 at 11:14:16PM -0700, Dima Ryazanov wrote: > >> When a compositor window is closed, remove the output instead of just > >> exiting. > >> > >> (The "if (!input->output)" c

Re: [PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-19 Thread Hardening
Le 20/05/2015 01:41, Bryce Harrington a écrit : > On Mon, May 18, 2015 at 11:14:16PM -0700, Dima Ryazanov wrote: >> When a compositor window is closed, remove the output instead of just >> exiting. >> >> (The "if (!input->output)" checks are kind of ugly - but I couldn't find >> a better way to ha

Re: [PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-19 Thread Pekka Paalanen
On Tue, 19 May 2015 16:41:19 -0700 Bryce Harrington wrote: > On Mon, May 18, 2015 at 11:14:16PM -0700, Dima Ryazanov wrote: > > When a compositor window is closed, remove the output instead of just > > exiting. > > > > (The "if (!input->output)" checks are kind of ugly - but I couldn't find > >

Re: [PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-19 Thread Bryce Harrington
On Mon, May 18, 2015 at 11:14:16PM -0700, Dima Ryazanov wrote: > When a compositor window is closed, remove the output instead of just exiting. > > (The "if (!input->output)" checks are kind of ugly - but I couldn't find > a better way to handle the output going away.) > > Signed-off-by: Dima Rya

[PATCH weston] compositor-wayland: Handle window close events more gracefully

2015-05-18 Thread Dima Ryazanov
When a compositor window is closed, remove the output instead of just exiting. (The "if (!input->output)" checks are kind of ugly - but I couldn't find a better way to handle the output going away.) Signed-off-by: Dima Ryazanov --- src/compositor-wayland.c | 22 +++--- 1 file ch