mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[client] wayland: cleanup surface and display
These used to be owned by SDL and can't be cleaned up. This has since changed.
This commit is contained in:
parent
253b0e2a7a
commit
cc2104c699
@ -851,12 +851,11 @@ static void waylandFree(void)
|
||||
zwp_idle_inhibit_manager_v1_destroy(wm.idleInhibitManager);
|
||||
}
|
||||
|
||||
// TODO: these also need to be freed, but are currently owned by SDL.
|
||||
// wl_display_destroy(wm.display);
|
||||
// wl_surface_destroy(wm.surface);
|
||||
wl_surface_destroy(wm.surface);
|
||||
wl_pointer_destroy(wm.pointer);
|
||||
wl_seat_destroy(wm.seat);
|
||||
wl_registry_destroy(wm.registry);
|
||||
wl_display_disconnect(wm.display);
|
||||
}
|
||||
|
||||
static bool waylandGetProp(LG_DSProperty prop, void * ret)
|
||||
|
Loading…
Reference in New Issue
Block a user