ButtonRebindsFilter: Modify testBindingTabletTool to use proximity
This is to not destroy the tablet state for the next test (which is added in the next commit.) We could also explicitly do a tablet tool up/down dance here, but all we need is the tablet tool to be in proximity for the tablet button event to fire.
This commit is contained in:
parent
423a3e8b44
commit
fd670453e5
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ void TestButtonRebind::testBindingTabletTool()
|
|||
QVERIFY(enteredSpy.wait());
|
||||
|
||||
const QRectF startGeometry = window->frameGeometry();
|
||||
Test::tabletToolEvent(InputRedirection::Tip, startGeometry.center(), 1.0, 0, 0, 0, true, false, timestamp++);
|
||||
Test::tabletToolEvent(InputRedirection::Proximity, startGeometry.center(), 1.0, 0, 0, 0, false, false, timestamp++);
|
||||
|
||||
Test::tabletToolButtonPressed(BTN_STYLUS, timestamp++);
|
||||
|
||||
|
|
Loading…
Reference in a new issue