Skip to content

[wayland] Call SeatInterface::notifyTouchCancel when dpmsModeChanged

Ilya Pominov requested to merge ipominov/kwin:reset_touch into master

Call SeatInterface::notifyTouchCancel when outputs dpmsModeChanged Fix bug of incorrect touchscreen behavior after waking up outputs

STEPS TO REPRODUCE:

  1. Disable screen locking after waking from sleep
  2. Set power button events handling to "Turn off screen"
  3. Press and hold the touchscreen with two fingers
  4. Press power button. The output will turn off (via dpms).
  5. Release the touchscreen.
  6. Press power button again. The output will turn on.
  7. Try using touchscreen with one finger.

EXPECTED RESULT: Touchscreen works fine

OBSERVED RESULT: Touchscreen always remains pressed

Merge request reports