xwayland: use a separate window for drag'n'drop

This commit is contained in:
emersion 2018-03-29 17:53:47 -04:00
parent d5f46f4db4
commit cadfccf1fd
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 85 additions and 46 deletions

View file

@ -115,6 +115,8 @@ struct wlr_xwm {
xcb_window_t selection_window;
struct wlr_xwm_selection clipboard_selection;
struct wlr_xwm_selection primary_selection;
xcb_window_t dnd_window;
struct wlr_xwm_selection dnd_selection;
struct wlr_xwayland_surface *focus_surface;