mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 23:22:24 +00:00
Merge pull request #1175 from emersion/fix-xdg-output-layout-destroy
xdg-output: fix segfault in handle_layout_destroy
This commit is contained in:
commit
23e2c3c759
@ -199,7 +199,7 @@ static void handle_layout_change(struct wl_listener *listener, void *data) {
|
||||
|
||||
static void handle_layout_destroy(struct wl_listener *listener, void *data) {
|
||||
struct wlr_xdg_output_manager *manager =
|
||||
wl_container_of(listener, manager, layout_change);
|
||||
wl_container_of(listener, manager, layout_destroy);
|
||||
wlr_xdg_output_manager_destroy(manager);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user