Send tablet input to active screen

Try to send the tablet input to the configured screen for the tablet if any,
otherwise always send it to the active screen, not the screen of the active window
which is very confusing

BUG:479713
This commit is contained in:
Marco Martin 2024-02-22 17:07:21 +01:00
parent 493a4f7280
commit 9da0b8543f

View file

@ -516,9 +516,6 @@ void Connection::processEvents()
globalPos = workspace()->geometry().topLeft() + tte->transformedPosition(workspace()->geometry().size());
} else {
Output *output = tte->device()->output();
if (!output && workspace()->activeWindow()) {
output = workspace()->activeWindow()->output();
}
if (!output) {
output = workspace()->activeOutput();
}