output: remove assertion on output being enabled

This assertion breaks on the DRM backend.
This commit is contained in:
Jente Hidskes 2020-10-18 22:43:24 +02:00
parent 4c22c9494b
commit 8c1028e2de
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA

View file

@ -183,8 +183,6 @@ handle_output_mode(struct wl_listener *listener, void *user_data)
{ {
struct cg_output *output = wl_container_of(listener, output, mode); struct cg_output *output = wl_container_of(listener, output, mode);
assert(!output->wlr_output->enabled);
struct cg_view *view; struct cg_view *view;
wl_list_for_each (view, &output->views, link) { wl_list_for_each (view, &output->views, link) {
cage_view_position(view); cage_view_position(view);