Skip to content

Commit 046ba62

Browse files
committed
fix: also should let background run
1 parent 3a7301b commit 046ba62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

layershellev/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3413,7 +3413,10 @@ impl<T: 'static> WindowState<T> {
34133413
);
34143414
}
34153415
window_state.closed_ids.clear();
3416-
if window_state.units.is_empty() && !window_state.is_allscreens() {
3416+
if window_state.units.is_empty()
3417+
&& !window_state.is_allscreens()
3418+
&& !window_state.is_background()
3419+
{
34173420
signal.stop();
34183421
return true;
34193422
}

0 commit comments

Comments
 (0)