fix(wayland): don't double configure surface
This commit is contained in:
@@ -76,8 +76,6 @@ impl XdgSurface for Surface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
toplevel.reconfigure(client).await?;
|
toplevel.reconfigure(client).await?;
|
||||||
let serial = client.next_event_serial();
|
|
||||||
self.configure(client, sender_id, serial).await?;
|
|
||||||
|
|
||||||
let pid = client.get::<Display>(ObjectId::DISPLAY).unwrap().pid;
|
let pid = client.get::<Display>(ObjectId::DISPLAY).unwrap().pid;
|
||||||
let configured = self.configured.clone();
|
let configured = self.configured.clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user