Apply opaque regions to surfaces' current state
Created by: RyanDwyer
This change is needed to allow https://github.com/swaywm/sway/pull/2182 to see the opaque region in the current state.
I admit I'm a little confused by the property invalid
. I assume it denotes the fields which are dirty and should be copied into the current state.