mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
output: Move MetaGpu field to instance private
Set during construction only, retrieved using helper. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
2ebd43cba9
commit
f4fd92d8e8
@ -770,8 +770,9 @@ meta_create_xrandr_output (MetaGpuXrandr *gpu_xrandr,
|
||||
GBytes *edid;
|
||||
unsigned int i;
|
||||
|
||||
output = g_object_new (META_TYPE_OUTPUT, NULL);
|
||||
output->gpu = META_GPU (gpu_xrandr);
|
||||
output = g_object_new (META_TYPE_OUTPUT,
|
||||
"gpu", gpu_xrandr,
|
||||
NULL);
|
||||
output->winsys_id = output_id;
|
||||
output->name = g_strdup (xrandr_output->name);
|
||||
|
||||
|
Reference in New Issue
Block a user