Mir

Comment 1 for bug 1723235

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

This comes from a failed attempt to "bypass" a fullscreen surface from a Wayland client. Simply not bypassing for this case works around the issue:

- if (!native)
- BOOST_THROW_EXCEPTION(std::invalid_argument("could not convert NativeBuffer"));
- if (native->flags & mir_buffer_flag_can_scanout &&
+ if (native && native->flags & mir_buffer_flag_can_scanout &&

But this loses efficiency.