Skip to content

xwayland: fix Firefox/GTK3/Wayland -> Xwayland copy-paste not working

Simon Ser requested to merge github/fork/jnpkrn/xwayland-mime-from-atom into master

Created by: jnpkrn

Firefox in such a setting doesn't offer "text/plain;charset=utf-8", but rather something that equals to "UTF8_STRING" directly in the MIME matching logic of Xwayland part, and it shall rather be preserved as-is for this to work towards X programs (rxvt-unicode, for instance). That leads to prioritizing xwm_get_atom_name over a static translation.

It seems X11 atoms vs. proper MIME types is an ongoing topic, see https://gitlab.gnome.org/GNOME/gtk/issues/1177 ("Make X11 run transformation steps mime-type <> atom").

Merge request reports