mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
kms: Avoid queuing multiple (un)assignments to the same plane in an update
Just like we already do in `meta_kms_update_assign_plane`. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2620>
This commit is contained in:
parent
c86d8a23c3
commit
74ce9592b5
@ -316,6 +316,8 @@ meta_kms_update_unassign_plane (MetaKmsUpdate *update,
|
||||
g_assert (meta_kms_crtc_get_device (crtc) == update->device);
|
||||
g_assert (meta_kms_plane_get_device (plane) == update->device);
|
||||
|
||||
drop_plane_assignment (update, plane, NULL);
|
||||
|
||||
plane_assignment = g_new0 (MetaKmsPlaneAssignment, 1);
|
||||
*plane_assignment = (MetaKmsPlaneAssignment) {
|
||||
.update = update,
|
||||
|
Loading…
Reference in New Issue
Block a user