libinput: Allow setting an empty output name

For tablets, it signifies "follow the active output".
master
Aleix Pol 2 years ago committed by Aleix Pol Gonzalez
parent a11681918a
commit 77c5198dc8

@ -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()) {

Loading…
Cancel
Save