Skip to content

Prevent "recently disconnected" screen wakeup more aggressively

Arsen Arsenović requested to merge aarsen/kwin:fix/480026 into master

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.

In addition, a screen disconnecting can induce a pointer warp event, which would've woken up the screen normally. This patch ignores that event also.

BUG: 480026

CC: @zamundaaa (thank you for your help! :-)

Merge request reports