mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Detach tab via drag and drop now implemented
This commit is contained in:
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
@@ -3227,7 +3227,7 @@ static void
|
||||
drag_source_dnd_drop_performed(void *data UNUSED, struct wl_data_source *source UNUSED) {
|
||||
_GLFWwindow *window = _glfwWindowForId(_glfw.drag.window_id);
|
||||
if (window) {
|
||||
GLFWDragEvent ev = {.type=GLFW_DRAG_ACTION_CHANGED};
|
||||
GLFWDragEvent ev = {.type=GLFW_DRAG_DROPPED};
|
||||
_glfwInputDragSourceRequest(window, &ev);
|
||||
} else drag_source_cancelled(data, source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user