wlroots/include
Consolatis 0c437f6e98 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.

(cherry picked from commit 546c5d000d)
2024-12-11 09:29:55 -05:00
..
backend backend/drm: don't set vsync present flag if page flip was async 2024-08-15 11:13:05 -04:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render Fix __VA_OPT__ macro invocations 2024-06-30 09:01:15 +03:00
types wlr_keyboard: don't emit key event for duplicated keycodes 2024-11-29 08:40:33 -05:00
util xdg-toplevel: check that title provided actually is UTF-8 2023-11-22 22:03:00 +03:00
wlr data-device: reset focused surface when destroyed 2024-12-11 09:29:35 -05:00
xcursor Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland xwayland: fix xdg->xwayland drag-and-drop 2024-12-11 09:29:55 -05:00
meson.build render/color: add fallback stub when LCMS2 is disabled 2024-06-04 17:45:51 +00:00