cursor: g_assert on NULL cursor
Don't try to go on without a cursor (which can only happen when calloc fails). wlroots also only returns NULL in case of memory problems.
This allows to remove the NULL checks elsewhere
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this page for instructions on how to get full permissions. Sorry for the inconvenience.
Don't try to go on without a cursor (which can only happen when calloc fails). wlroots also only returns NULL in case of memory problems.
This allows to remove the NULL checks elsewhere