backends/drm: Prevent "recently disconnected" screen wakeup more aggressively
It seems that, on some systems (such as on mine), 1s is not long enough for a spurious disconnect and reconnect to happen. 2s seems enough, however, while still likely not being long enough to cause user confusion. BUG: 480026
This commit is contained in:
parent
6acc652487
commit
38c4980b0d
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ void DrmBackend::removeOutput(DrmAbstractOutput *o)
|
|||
if (o->dpmsMode() == Output::DpmsMode::Off) {
|
||||
const QUuid id = o->uuid();
|
||||
m_recentlyUnpluggedDpmsOffOutputs.push_back(id);
|
||||
QTimer::singleShot(1000, this, [this, id]() {
|
||||
QTimer::singleShot(2000, this, [this, id]() {
|
||||
m_recentlyUnpluggedDpmsOffOutputs.removeOne(id);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue