diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-23 10:45:48 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-23 10:45:48 +0200 |
commit | 625bc7b8b3356a1108a7fd00513d4c164a16ba16 (patch) | |
tree | a7f9b3ba19a9b3b9a1b075284df6e98f5ba3642c | |
parent | 4575f27932a04f901e99f3b9410c1fe39a0ff342 (diff) |
assert(surface->output); after new_surface emit
-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) { |