Skip to content

Commit

Permalink
hotfix: race condition when activating clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdinand Schober committed May 7, 2024
1 parent ba6abaf commit b8cc9e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/gtk/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ impl Window {
return;
};
let client = client.downcast_ref::<ClientObject>().unwrap();
window.request_client_activate(client, active);
window.request_client_update(client);
window.request_client_activate(client, active)
}));
row.connect_closure("request-delete", false, closure_local!(@strong window => move |row: ClientRow| {
let index = row.index() as u32;
Expand Down Expand Up @@ -177,7 +177,7 @@ impl Window {

if state.resolving != data.resolving {
client_object.set_resolving(state.resolving);
log::debug!("resolving {}: {}", data.handle, state.active);
log::debug!("resolving {}: {}", data.handle, state.resolving);
}

self.update_dns_state(handle, !state.ips.is_empty());
Expand Down

0 comments on commit b8cc9e2

Please sign in to comment.