crtc-kms: Include MetaCrtc in MetaCrtcKms struct

Otherwise it can't be a GObject inheriting MetaCrtc. This fixes warning
logged as

"invalid uninstantiatable type '(null)' in cast to 'MetaCrtcKms'"

Fixes: 1ce9e379d9

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1308
This commit is contained in:
Jonas Ådahl 2020-06-11 11:49:47 +02:00
parent e089e53b24
commit 19b467aa01

View File

@ -37,6 +37,8 @@
struct _MetaCrtcKms struct _MetaCrtcKms
{ {
MetaCrtc parent;
MetaKmsCrtc *kms_crtc; MetaKmsCrtc *kms_crtc;
MetaKmsPlane *primary_plane; MetaKmsPlane *primary_plane;