Skip to content

Commit

Permalink
wlr-surface-node: don't render to deleted outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
lcolitti committed Apr 8, 2024
1 parent 9ba572d commit 59cb7b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/view/wlr-surface-node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ wf::scene::wlr_surface_node_t::wlr_surface_node_t(wlr_surface *surface, bool aut

for (auto& [wo, _] : visibility)
{
if (!wo->render)
{
// Client committed buffer to output that is being deleted?
LOGE("Trying to render ", this->surface, " to deleted output ", wo->handle);
continue;
}

wo->render->schedule_redraw();
}
});
Expand Down
2 changes: 1 addition & 1 deletion subprojects/wf-config
Submodule wf-config updated 1 files
+3 −4 src/duration.cpp

0 comments on commit 59cb7b6

Please sign in to comment.