clean(wayland): unnecessary variables

This commit is contained in:
Nova
2025-09-09 18:49:55 -07:00
parent 45ec292b99
commit 0650956ab4
2 changed files with 3 additions and 21 deletions

View File

@@ -156,10 +156,7 @@ impl XdgSurface for Surface {
let surface = client.get::<Surface>(self.id).unwrap();
let popup = client.insert(
popup_id,
Popup::new(popup_id, self.version, parent.clone(), surface, &positioner),
);
let popup = client.insert(popup_id, Popup::new(self.version, surface, &positioner));
popup.configure(client, popup_id, 0, 0, 0, 0).await?;
let serial = client.next_event_serial();