mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
wayland: Fix bad copy-paste error in unset_fullscreen
This was causing memory corruption and a bad crasher with simple-egl.
This commit is contained in:
parent
81eb7d9537
commit
06cd669ccb
@ -874,8 +874,7 @@ static void
|
|||||||
xdg_surface_unset_fullscreen (struct wl_client *client,
|
xdg_surface_unset_fullscreen (struct wl_client *client,
|
||||||
struct wl_resource *resource)
|
struct wl_resource *resource)
|
||||||
{
|
{
|
||||||
MetaWaylandSurfaceExtension *xdg_surface = wl_resource_get_user_data (resource);
|
MetaWaylandSurface *surface = wl_resource_get_user_data (resource);
|
||||||
MetaWaylandSurface *surface = wl_container_of (xdg_surface, surface, xdg_surface);
|
|
||||||
|
|
||||||
surface->pending.fullscreen.changed = TRUE;
|
surface->pending.fullscreen.changed = TRUE;
|
||||||
surface->pending.fullscreen.value = FALSE;
|
surface->pending.fullscreen.value = FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user