mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 09:19:31 +00:00
wayland-private: Make display_name non-const
The string used to point to memory owned by libwayland-server, but with the ability to override the display name, we took over ownership by copying the string as necessary. https://gitlab.gnome.org/GNOME/mutter/merge_requests/176
This commit is contained in:
@ -64,7 +64,7 @@ typedef struct
|
|||||||
struct _MetaWaylandCompositor
|
struct _MetaWaylandCompositor
|
||||||
{
|
{
|
||||||
struct wl_display *wayland_display;
|
struct wl_display *wayland_display;
|
||||||
const char *display_name;
|
char *display_name;
|
||||||
GHashTable *outputs;
|
GHashTable *outputs;
|
||||||
struct wl_list frame_callbacks;
|
struct wl_list frame_callbacks;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user