mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-23 06:59:44 -05:00
xwayland: send DND_POSITION
This commit is contained in:
parent
0d7a81ccdf
commit
73394deb76
4 changed files with 93 additions and 17 deletions
|
|
@ -107,10 +107,17 @@ struct wlr_drag {
|
|||
|
||||
struct {
|
||||
struct wl_signal focus;
|
||||
struct wl_signal motion;
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
};
|
||||
|
||||
struct wlr_drag_motion_event {
|
||||
struct wlr_drag *drag;
|
||||
uint32_t time;
|
||||
double sx, sy;
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a wl data device manager global for this display.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -122,6 +122,9 @@ struct wlr_xwm {
|
|||
struct wl_list surfaces; // wlr_xwayland_surface::link
|
||||
struct wl_list unpaired_surfaces; // wlr_xwayland_surface::unpaired_link
|
||||
|
||||
struct wlr_drag *drag;
|
||||
struct wlr_xwayland_surface *drag_focus;
|
||||
|
||||
const xcb_query_extension_reply_t *xfixes;
|
||||
#ifdef WLR_HAS_XCB_ERRORS
|
||||
xcb_errors_context_t *errors_context;
|
||||
|
|
@ -133,6 +136,7 @@ struct wlr_xwm {
|
|||
struct wl_listener seat_primary_selection;
|
||||
struct wl_listener seat_start_drag;
|
||||
struct wl_listener seat_drag_focus;
|
||||
struct wl_listener seat_drag_motion;
|
||||
struct wl_listener seat_drag_destroy;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue