xwayland/dnd: add support for XdndProxy

If this window property exists, we should send event to proxy window

Signed-off-by: xurui <xurui@kylinos.cn>
This commit is contained in:
xurui 2025-04-02 11:02:23 +08:00 committed by Xu Rui
parent 792bee9657
commit 51efd9e472
2 changed files with 41 additions and 1 deletions

View file

@ -170,6 +170,9 @@ struct wlr_xwayland_surface {
*/
xcb_ewmh_wm_strut_partial_t *strut_partial;
/* XdndProxy window */
xcb_window_t proxy_window;
bool pinging;
struct wl_event_source *ping_timer;