mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 18:39:48 +01:00
assert(surface->output); after new_surface emit
This commit is contained in:
parent
4575f27932
commit
625bc7b8b3
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ static void handle_wlr_surface_committed(struct wlr_surface *wlr_surface,
|
||||||
surface->added = true;
|
surface->added = true;
|
||||||
wlr_signal_emit_safe(&surface->shell->events.new_surface,
|
wlr_signal_emit_safe(&surface->shell->events.new_surface,
|
||||||
surface);
|
surface);
|
||||||
|
assert(surface->output);
|
||||||
}
|
}
|
||||||
if (surface->configured && wlr_surface_has_buffer(surface->surface) &&
|
if (surface->configured && wlr_surface_has_buffer(surface->surface) &&
|
||||||
!surface->mapped) {
|
!surface->mapped) {
|
||||||
|
|
Loading…
Reference in a new issue