From 77c5198dc81efad79aa54f26d0d5dfc619c8eab4 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 26 Oct 2022 19:21:25 +0200 Subject: [PATCH] libinput: Allow setting an empty output name For tablets, it signifies "follow the active output". --- src/backends/libinput/device.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backends/libinput/device.cpp b/src/backends/libinput/device.cpp index a5ae78f0c5..97f8a9e0ed 100644 --- a/src/backends/libinput/device.cpp +++ b/src/backends/libinput/device.cpp @@ -633,9 +633,6 @@ void Device::setOutputName(const QString &name) } setOutput(nullptr); - if (name.isEmpty()) { - return; - } auto outputs = kwinApp()->platform()->outputs(); for (int i = 0; i < outputs.count(); ++i) { if (!outputs[i]->isEnabled()) {