Re: [PATCH] compositor-drm: handle null cursor_plane

2018-02-20 Thread Pekka Paalanen
On Mon, 19 Feb 2018 17:59:42 +0300 Greg V wrote: > Was crashing when I tried to take a screenshot. > --- > On my slightly unconventional setup (FreeBSD amdgpu), after merging > recent changes, pressing the screenshot hotkey was crashing weston. > > Debugging revealed that cursor_plane was 0x0 h

[PATCH] compositor-drm: handle null cursor_plane

2018-02-19 Thread Greg V
Was crashing when I tried to take a screenshot. --- On my slightly unconventional setup (FreeBSD amdgpu), after merging recent changes, pressing the screenshot hotkey was crashing weston. Debugging revealed that cursor_plane was 0x0 here. I don't know why exactly, but adding this check fixes it.