1
0
Fork 0
forked from wry/wry

cursor_user: ensure cursor position is on live output

This commit is contained in:
kossLAN 2026-06-09 20:33:24 -04:00
parent 22f1d92877
commit b56c1a1b0a
No known key found for this signature in database
3 changed files with 24 additions and 2 deletions

View file

@ -388,8 +388,9 @@ impl ConnectorHandler {
for group in on.ext_workspace_groups.lock().drain_values() {
group.handle_destroyed();
}
for seat in self.state.globals.seats.lock().values() {
seat.cursor_group().output_disconnected(&on, &target);
let seats: Vec<_> = self.state.globals.seats.lock().values().cloned().collect();
for seat in seats {
seat.handle_output_disconnected(&on, &target);
}
for item in on.tray_items.iter() {
item.destroy_node();