wayland/xdg-foreign: Add support for xdg-foreign-v2

This replaces the v1 implementation, which is now renamed to
legacy-xdg-foreign. Both implementations use the same data structures
internally, so that protocol version mismatches between
the importer client and exporter client don't fail.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2770>
This commit is contained in:
Jason Francis
2020-02-06 02:00:56 -05:00
committed by Marge Bot
parent 4d89149052
commit aa0b1fbc88
9 changed files with 496 additions and 67 deletions

View File

@ -71,4 +71,6 @@ typedef struct _MetaWaylandXdgPositioner MetaWaylandXdgPositioner;
typedef struct _MetaXWaylandManager MetaXWaylandManager;
typedef struct _MetaWaylandXdgForeign MetaWaylandXdgForeign;
#endif