mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
xdg-output: fix segfault in handle_layout_destroy
This commit is contained in:
parent
eb9c9d8852
commit
c4522062f6
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
static void handle_layout_destroy(struct wl_listener *listener, void *data) {
|
||||||
struct wlr_xdg_output_manager *manager =
|
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);
|
wlr_xdg_output_manager_destroy(manager);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue