1
0
Fork 0
forked from wry/wry

it: test dnd focus change on drop

This commit is contained in:
Julian Orth 2024-04-02 16:52:32 +02:00
parent a39031d4f9
commit c6b34550d8
16 changed files with 421 additions and 9 deletions

View file

@ -20,6 +20,7 @@ pub struct TestPointer {
pub leave: TEEH<Leave>,
pub enter: TEEH<Enter>,
pub motion: TEEH<Motion>,
pub button: TEEH<Button>,
pub axis_relative_direction: TEEH<AxisRelativeDirection>,
}
@ -67,7 +68,8 @@ impl TestPointer {
}
fn handle_button(&self, parser: MsgParser<'_, '_>) -> TestResult {
let _ev = Button::parse_full(parser)?;
let ev = Button::parse_full(parser)?;
self.button.push(ev);
Ok(())
}