mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
wayland: Add versions to primary selection protocols
Just so we follow convention - those versions are unlikely to ever change. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1452
This commit is contained in:
parent
1e78d90a37
commit
82fffacbae
@ -284,7 +284,8 @@ meta_wayland_data_device_primary_legacy_manager_init (MetaWaylandCompositor *com
|
||||
{
|
||||
if (wl_global_create (compositor->wayland_display,
|
||||
>k_primary_selection_device_manager_interface,
|
||||
1, NULL, bind_primary_manager) == NULL)
|
||||
META_GTK_PRIMARY_SELECTION_VERSION,
|
||||
NULL, bind_primary_manager) == NULL)
|
||||
g_error ("Could not create data_device");
|
||||
}
|
||||
|
||||
|
@ -283,7 +283,8 @@ meta_wayland_data_device_primary_manager_init (MetaWaylandCompositor *compositor
|
||||
{
|
||||
if (wl_global_create (compositor->wayland_display,
|
||||
&zwp_primary_selection_device_manager_v1_interface,
|
||||
1, NULL, bind_primary_manager) == NULL)
|
||||
META_ZWP_PRIMARY_SELECTION_V1_VERSION,
|
||||
NULL, bind_primary_manager) == NULL)
|
||||
g_error ("Could not create data_device");
|
||||
}
|
||||
|
||||
|
@ -55,5 +55,7 @@
|
||||
#define META_GTK_TEXT_INPUT_VERSION 1
|
||||
#define META_ZWP_TEXT_INPUT_V3_VERSION 1
|
||||
#define META_WP_VIEWPORTER_VERSION 1
|
||||
#define META_GTK_PRIMARY_SELECTION_VERSION 1
|
||||
#define META_ZWP_PRIMARY_SELECTION_V1_VERSION 1
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user