libinput: Allow setting an empty output name
For tablets, it signifies "follow the active output".
This commit is contained in:
parent
a11681918a
commit
77c5198dc8
1 changed files with 0 additions and 3 deletions
|
@ -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…
Reference in a new issue