Before, it could break in the following scenario: - drm backend emits aboutToTurnOff - workspace creates the dpms filter - workspace gets some event that triggers it to update outputs - maybeDestroyDpmsFilter sees that the output is on and deletes the dpms filter - the drm backend actually turns the screen off In that case, the dpms input event filter is gone and the output off. Unless the dpms mode gets changed again by some other process, the output would now stay off forever.wilder/Plasma/6.3
parent
d1b8919ef3
commit
8676141067
3 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue