backends: Make meta_backend_update_last_device() private

This is now handled entirely in the backend, no need to export this
function.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/285>
This commit is contained in:
Carlos Garnacho 2022-01-13 14:08:07 +01:00 committed by Marge Bot
parent d72bacb3cd
commit f852e5ab2b
2 changed files with 1 additions and 4 deletions

View File

@ -162,9 +162,6 @@ xkb_layout_index_t meta_backend_get_keymap_layout_group (MetaBackend *backend);
gboolean meta_backend_is_lid_closed (MetaBackend *backend); gboolean meta_backend_is_lid_closed (MetaBackend *backend);
void meta_backend_update_last_device (MetaBackend *backend,
ClutterInputDevice *device);
MetaPointerConstraint * meta_backend_get_client_pointer_constraint (MetaBackend *backend); MetaPointerConstraint * meta_backend_get_client_pointer_constraint (MetaBackend *backend);
void meta_backend_set_client_pointer_constraint (MetaBackend *backend, void meta_backend_set_client_pointer_constraint (MetaBackend *backend,
MetaPointerConstraint *constraint); MetaPointerConstraint *constraint);

View File

@ -381,7 +381,7 @@ update_last_device (MetaBackend *backend)
return G_SOURCE_REMOVE; return G_SOURCE_REMOVE;
} }
void static void
meta_backend_update_last_device (MetaBackend *backend, meta_backend_update_last_device (MetaBackend *backend,
ClutterInputDevice *device) ClutterInputDevice *device)
{ {