Skip to content
Commit febdee08 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Fix SurfaceInterface::bufferSourceBox() when the viewport source rect is unset

Vscode starts with a valid source rect but it resets it eventually by
calling wp_viewport.set_source(-1, -1, -1, -1).

On the other hand, `current.viewport.sourceGeometryIsSet` would be true
if that happens.

SurfaceInterface::bufferSourceBox() should use the buffer size when the
source rect has been unset otherwise the damage handling code will be
confused and it's likely that the scene won't issue repaint requests.
parent 762254c3
Pipeline #445169 passed with stage
in 11 minutes and 13 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment