wlroots/xwayland/selection
Consolatis 546c5d000d xwayland: fix xdg->xwayland drag-and-drop
As struct wlr_drag is destroyed on drop and in the process resets
the focus, a xwayland dnd listener would also reset xwm->drag_focus.

This prevents the xcb replies from being processed and also prevents
the transfer if a compositor would not additionally request new focus
in its wlr_drag destroy handler (which is something usually only done
when in a focus-follows-mouse setting).

This patch creates a new xwm->drop_focus pointer which is a copy of
xwm->drag_focus at drop time. The xcb reply handler and transfer
logic now use the new xwm->drop_focus for their authorization checks.
2024-12-11 08:51:10 +01:00
..
dnd.c xwayland: fix xdg->xwayland drag-and-drop 2024-12-11 08:51:10 +01:00
incoming.c xwayland/xwm: implement somewhat asynchronous request flushing 2024-10-07 21:51:15 +03:00
outgoing.c xwayland: fix xdg->xwayland drag-and-drop 2024-12-11 08:51:10 +01:00
selection.c xwayland/xwm: implement somewhat asynchronous request flushing 2024-10-07 21:51:15 +03:00