Re: [PATCH weston] Fix a crash when unlocking or unconfining a pointer

2018-05-31 Thread Pekka Paalanen
On Thu, 31 May 2018 00:16:14 -0700 Dima Ryazanov wrote: > On Tue, May 29, 2018 at 3:30 AM Pekka Paalanen wrote: > > > On Thu, 10 May 2018 00:53:38 -0700 > > Dima Ryazanov wrote: > > > > > In GNOME (but not in Weston), if a window loses focus, the client first > > receives > > > the

Re: [PATCH weston] Fix a crash when unlocking or unconfining a pointer

2018-05-31 Thread Dima Ryazanov
On Tue, May 29, 2018 at 3:30 AM Pekka Paalanen wrote: > On Thu, 10 May 2018 00:53:38 -0700 > Dima Ryazanov wrote: > > > In GNOME (but not in Weston), if a window loses focus, the client first > receives > > the focus event, then the unlock/unconfine event. This causes toytoolkit > to > >

Re: [PATCH weston] Fix a crash when unlocking or unconfining a pointer

2018-05-29 Thread Pekka Paalanen
On Thu, 10 May 2018 00:53:38 -0700 Dima Ryazanov wrote: > In GNOME (but not in Weston), if a window loses focus, the client first > receives > the focus event, then the unlock/unconfine event. This causes toytoolkit to > dereference a NULL window when unlocking or unconfining the pointer. > >

[PATCH weston] Fix a crash when unlocking or unconfining a pointer

2018-05-10 Thread Dima Ryazanov
In GNOME (but not in Weston), if a window loses focus, the client first receives the focus event, then the unlock/unconfine event. This causes toytoolkit to dereference a NULL window when unlocking or unconfining the pointer. To repro: - Run weston-confine - Click the window - Alt-Tab away from