Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

[WIP] xwayland: add incoming drag'n'drop support #841

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

emersion
Copy link
Member

@emersion emersion commented Apr 6, 2018

Fixes #295

  • Figure out how the client knows about the Wayland window position: just draw a window that spans the whole screen
  • Figure out how to map X11 protocol to Wayland protocol
  • Receive DND_ENTER
  • Receive DND_POSITION
  • Receive DND_DROP
  • Send DND_STATUS
  • Receive DND_LEAVE
  • Send DND_FINISHED

Test clients:

  • Firefox
  • GTK+ (under Wayland and Xwayland)
  • Chromium
  • Gimp

@emersion emersion changed the title xwayland: add incoming drag'n'drop support [WIP] xwayland: add incoming drag'n'drop support Apr 6, 2018
@emersion
Copy link
Member Author

It seems that starting an implicit grab on button down is required to make this work (sway does it, rootston doesn't).

KDE got it working recently: https://phabricator.kde.org/D15627

@L-as
Copy link
Contributor

L-as commented Jan 19, 2019

If I may ask, what happened to this PR?

@emersion
Copy link
Member Author

I wanted to fix Wayland drag-and-drop before working again on this, but to do so I wanted to refactor the data-device code first. This is being done in #1427, but I haven't had enough time yet to finish it.

@panaman67
Copy link

@emersion With #1427 merged, Whats the status of this?

@emersion
Copy link
Member Author

emersion commented Nov 1, 2021

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/841

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

xwayland clipboard sync and dnd
3 participants