diff options
-rw-r--r-- | types/wlr_layer_shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_layer_shell.c b/types/wlr_layer_shell.c index 78aa2536..a567b8bc 100644 --- a/types/wlr_layer_shell.c +++ b/types/wlr_layer_shell.c @@ -276,6 +276,7 @@ static void handle_wlr_surface_committed(struct wlr_surface *wlr_surface, surface->added = true; wlr_signal_emit_safe(&surface->shell->events.new_surface, surface); + assert(surface->output); } if (surface->configured && wlr_surface_has_buffer(surface->surface) && !surface->mapped) { |