[client] wayland: do not leak cursor wl_buffer and wl_surface

This commit is contained in:
Quantum
2021-04-05 20:06:49 -04:00
committed by Geoffrey McRae
parent a380803d37
commit 30c3b399f2
3 changed files with 14 additions and 3 deletions

View File

@@ -110,6 +110,7 @@ struct WaylandDSState
#endif
struct wl_surface * cursor;
struct wl_buffer * cursorBuffer;
struct wl_data_device_manager * dataDeviceManager;
@@ -188,6 +189,7 @@ void waylandCBRelease(void);
// cursor module
bool waylandCursorInit(void);
void waylandCursorFree(void);
void waylandShowPointer(bool show);
// gl module