Skip to content

wayland/xdg-foreign: Add support for protocol v2

Jason Francis requested to merge jf/mutter:xdg-foreign-v2 into main

This updates the xdg-foreign protocol to the v2 version, spec here: xdg-foreign-unstable-v2.xml. The corresponding patch for GTK is here: gtk!1394

For reference, the KDE support for this protocol is here: xdg_foreign_v2.cpp.

Support for the v1 protocol is still included has been moved to another file marked "legacy" simlar to the status of zxdg_shell_v6. Is this the right approach? Requesting feedback. If someone else wants to test this too that would be great. Here are the test programs I'm using: xdg-foreign-test, portal-test.

Merge request reports