-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--and-exit does not work on Sway/Wayland #70
Comments
It should be possible for any GTK/GDK-based app to use:
Meanwhile, for any Qt-based app use this instead:
In the case of $ export GDK_BACKEND=x11 ; echo -n /tmp/test.png | dragon-drop --stdin
# window spawns
# In another terminal window, we can check `dragon-drop` is running as XWayland client
$ xlsclients
examplex11host dragon-drop Due to limitations of drag & drop functionality between Xorg/X11 and Wayland client applications, it's essential that both applications are running under the same display server backend. Either both need to be running as X11 clients, or both need to be Wayland clients. Using the above two environment variables can help to ensure both apps are running under the same display server protocol backend, so drag & drop can work. EDIT: This issue is related to #72 because both involve ensuring all apps are using the same display server protocol backend. |
Hi there, starting dragon-drop from a wayland terminal breaks the --and-exit feature.
The popup still stays on screen, even if you drag the file somewhere.
Starting it from a terminal using X11, it works.
How can I ensure that dragon-drop is always started under X11?
The text was updated successfully, but these errors were encountered: