sony / flutter-embedded-linux

Embedded Linux embedding for Flutter
BSD 3-Clause "New" or "Revised" License
1.2k stars 127 forks source link

Continue listening for presentation feedback events after discarded frame #310

Closed vially closed 1 year ago

vially commented 1 year ago

The previous code stopped listening for presentation feedback events as soon as a discarded event was received.

When this happened, the client-side decorations stopped being redrawn and got "stuck". This broken state could be consistently reproduced on sway when resizing the window using $mod key + mouse right click (see screen recordings below).

before.webm

after.webm

This pull-request fixes that by continuing to listen to presentation feedback events after discarded events.

Note: I agree to delegate all rights related to this PR to Sony.