xdg-shell: make acked serial part of the pending state
This commit is contained in:
parent
c9f54cd60b
commit
17ac4ca0e1
7 changed files with 85 additions and 36 deletions
|
|
@ -15,7 +15,9 @@ pub struct TestWindow {
|
|||
|
||||
impl TestWindow {
|
||||
pub async fn map(&self) -> Result<(), TestError> {
|
||||
self.xdg.ack_configure(self.xdg.last_serial.get())?;
|
||||
if let Some(serial) = self.xdg.last_serial.take() {
|
||||
self.xdg.ack_configure(serial)?;
|
||||
}
|
||||
self.surface
|
||||
.map(self.tl.core.width.get(), self.tl.core.height.get())
|
||||
.await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue