wlr_scene: Fix missing calls to scene_node_update_outputs

There were a couple places this was missing
 - on mode change of an output. If the resolution changes for example
   nodes may fall out of the view.
 - on commits on an output for scale or transform changes
 - when the transform of a buffer is changed. If the dest size is not
 set, the buffer may have been rotated potentially changing its size
 if the buffer width != height
This commit is contained in:
Alexander Orzechowski 2022-05-19 14:01:03 -04:00
parent c46b53d0b0
commit 933ff0e60c
2 changed files with 32 additions and 0 deletions

View file

@ -140,6 +140,9 @@ struct wlr_scene_output {
uint8_t index;
bool prev_scanout;
struct wl_listener output_commit;
struct wl_listener output_mode;
};
/** A layer shell scene helper */