mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
xwayland: Correct the flag of the surface property
As the surface is cleaned up when the window is dropped, marking it as construct property more correct & mark it as static_strings while at it. Fixes a regression caused by https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2418 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2703>
This commit is contained in:
parent
4fa1dab918
commit
5aa104c48d
@ -325,7 +325,9 @@ meta_window_xwayland_class_init (MetaWindowXwaylandClass *klass)
|
||||
"Surface",
|
||||
"The corresponding Wayland surface",
|
||||
META_TYPE_WAYLAND_SURFACE,
|
||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||
G_PARAM_CONSTRUCT |
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
g_object_class_install_properties (gobject_class, PROP_LAST, obj_props);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user