Skip to content

Commit

Permalink
render: Fix race during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Jan 7, 2025
1 parent 578c77c commit 42af2af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,9 @@ where
.iter()
.cloned()
.collect::<Vec<_>>();
if seats.is_empty() {
return Ok(Vec::new());
}
let scale = output.current_scale().fractional_scale();

elements.extend(cursor_elements(
Expand Down

0 comments on commit 42af2af

Please sign in to comment.