Re: [PATCH] shell: run surface bindings only when focus surface is not NULL

2014-01-09 Thread Bill Spitzak
Rafal Mielniczuk wrote: This fixes the crash when move, rotate or resize binding is activated while exposay effect is active. + if (seat->pointer->focus == NULL) + return; + + focus = seat->pointer->focus->surface; + surface = weston_surface_get_main_surface(f

Re: [PATCH] shell: run surface bindings only when focus surface is not NULL

2014-01-08 Thread Kristian Høgsberg
On Sun, Jan 05, 2014 at 08:04:59PM +0100, Rafal Mielniczuk wrote: > This fixes the crash when move, rotate or resize binding is activated > while exposay effect is active. > > Steps to reproduce: > - activate exposay > - try to rotate the surface with mod + right mouse button > - crash Thank you,

[PATCH] shell: run surface bindings only when focus surface is not NULL

2014-01-05 Thread Rafal Mielniczuk
This fixes the crash when move, rotate or resize binding is activated while exposay effect is active. Steps to reproduce: - activate exposay - try to rotate the surface with mod + right mouse button - crash --- desktop-shell/shell.c | 21 ++--- 1 file changed, 18 insertions(+), 3