mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Wayland: Add support for file drop events
This adds support for file path drop events in text/uri-list format. It is based on work by Pilzschaf in #2040. Closes #2040
This commit is contained in:
@@ -714,6 +714,8 @@ void _glfwTerminateWayland(void)
|
||||
xdg_wm_base_destroy(_glfw.wl.wmBase);
|
||||
if (_glfw.wl.selectionOffer)
|
||||
wl_data_offer_destroy(_glfw.wl.selectionOffer);
|
||||
if (_glfw.wl.dragOffer)
|
||||
wl_data_offer_destroy(_glfw.wl.dragOffer);
|
||||
if (_glfw.wl.selectionSource)
|
||||
wl_data_source_destroy(_glfw.wl.selectionSource);
|
||||
if (_glfw.wl.dataDevice)
|
||||
|
||||
Reference in New Issue
Block a user