cursor_user: ensure cursor position is on live output
This commit is contained in:
parent
22f1d92877
commit
b56c1a1b0a
3 changed files with 24 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue