mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 06:42:28 +00:00
window/wayland: Plug window configuration leak
The acked configuration is removed from the pending configuration list by acquire_acked_configuration(), but finish_move_resize() does not free the data after applying the configuration. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1020
This commit is contained in:
parent
f0c92646eb
commit
51733ca499
@ -864,6 +864,8 @@ meta_window_wayland_finish_move_resize (MetaWindow *window,
|
|||||||
|
|
||||||
gravity = meta_resize_gravity_from_grab_op (window->display->grab_op);
|
gravity = meta_resize_gravity_from_grab_op (window->display->grab_op);
|
||||||
meta_window_move_resize_internal (window, flags, gravity, rect);
|
meta_window_move_resize_internal (window, flags, gravity, rect);
|
||||||
|
|
||||||
|
g_clear_pointer (&acked_configuration, meta_wayland_window_configuration_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user