Disconnect view from destroying output

Fixes #497

Reported-by @Flrian
This commit is contained in:
Consolatis 2022-08-24 21:12:24 +02:00 committed by Johan Malm
parent c1490b632d
commit 36b2a93a69
3 changed files with 16 additions and 0 deletions

View file

@ -594,6 +594,13 @@ view_discover_output(struct view *view)
}
}
void
view_on_output_destroy(struct view *view)
{
view_output_leave(view, view->output->wlr_output);
view->output = NULL;
}
void
view_move_to_edge(struct view *view, const char *direction)
{