chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61aa438
)
wdt-simple: conflicts: Provide gen_before
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 5 Apr 2021 16:49:13 +0000
(17:49 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 5 Apr 2021 16:49:13 +0000
(17:49 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver/wdt-simple.rs
patch
|
blob
|
history
diff --git
a/wdriver/wdt-simple.rs
b/wdriver/wdt-simple.rs
index de9d8ba2d16a95abb92e3cf25ca4ac91e5238da2..0412d3f989915e1dd79e9657d6a98b145815caa3 100644
(file)
--- a/
wdriver/wdt-simple.rs
+++ b/
wdriver/wdt-simple.rs
@@
-251,14
+251,16
@@
impl Ctx {
"wrong # conflicts {:?}", &conflicts);
}
- let yw = su.w(&y.window)?;
+ let
mut
yw = su.w(&y.window)?;
yw.action_chain()
.move_w(&yw, y.now)?
.click()
.perform()
.did("ungrab to tidy")?;
- Ok::<_,AE>(())
+ let gen = yw.synch()?;
+
+ Ok::<_,AE>(gen)
};
@@
-282,7
+284,9
@@
impl Ctx {
paused.resume()?;
- check(su).did("conflicting drag, check")?;
+ let gen_before = check(su).did("conflicting drag, check")?;
+
+ let _ = gen_before;
}
}