]> git.mdlowis.com Git - proto/labwc.git/commit
src/output.c: restore flicker free resize when running nested
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 27 Feb 2024 22:25:45 +0000 (23:25 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 4 Mar 2024 21:24:17 +0000 (21:24 +0000)
commit74501bc7fadc3b152dc9e1f18d87f154bdc1cb03
tree46c88670cd008edc71a98e4a79ac320e4dce18ba
parentf250c6ba129cd647603ed8feb20b65fd7ae2f70a
src/output.c: restore flicker free resize when running nested

PR #1301 did partly revert the first variant because
`lab_wlr_scene_output_commit()` (which uses the `output->pending`
state in contrast to `wlr_scene_output_commit()`) was deemd to
cause 'frozen' frames during video playback (#1273).

We are now back at using `lab_wlr_scene_output_commit()` for
unrelated reasons and the cause of the original issue #1273 was
likely that `wlr_scene_output_send_frame_done()` was only sent
on a successful commit. This was changed to always be sent.

So lets restore the flicker free nested resize as well.
src/output.c