mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-06 13:29:48 -05:00
Don't hardcode offered dnd types in window.c
This commit is contained in:
parent
88b272d9ff
commit
41da90897c
3 changed files with 18 additions and 14 deletions
|
|
@ -222,9 +222,11 @@ display_set_drag_offer_handler(struct display *display,
|
|||
display_drag_offer_handler_t handler);
|
||||
|
||||
struct wl_drag *
|
||||
window_start_drag(struct window *window, struct input *input, uint32_t time,
|
||||
const struct wl_drag_listener *listener, void *data);
|
||||
window_create_drag(struct window *window);
|
||||
|
||||
void
|
||||
window_activate_drag(struct wl_drag *drag, struct window *window,
|
||||
struct input *input, uint32_t time);
|
||||
|
||||
void
|
||||
input_get_position(struct input *input, int32_t *x, int32_t *y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue