From 9da0b8543fbf999b78957563a7c283f541147a6d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 22 Feb 2024 17:07:21 +0100 Subject: [PATCH] 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 --- src/backends/libinput/connection.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backends/libinput/connection.cpp b/src/backends/libinput/connection.cpp index a0f1b457b7..e49f7e6cb7 100644 --- a/src/backends/libinput/connection.cpp +++ b/src/backends/libinput/connection.cpp @@ -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(); }