mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
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:
parent
c46b53d0b0
commit
933ff0e60c
2 changed files with 32 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue