From faa831f2f6ade472a1c63e87657a6d0eb4e4b862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 27 May 2020 10:13:36 +0200 Subject: [PATCH] backend: Remove cursor renderer construction fallback All backends have their own cursor renderer constuctors, so remove the unused fallback. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1289 --- src/backends/meta-backend.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c index f57a78580..0a795e3a6 100644 --- a/src/backends/meta-backend.c +++ b/src/backends/meta-backend.c @@ -575,12 +575,6 @@ meta_backend_real_post_init (MetaBackend *backend) } } -static MetaCursorRenderer * -meta_backend_real_create_cursor_renderer (MetaBackend *backend) -{ - return meta_cursor_renderer_new (); -} - static gboolean meta_backend_real_grab_device (MetaBackend *backend, int device_id, @@ -762,7 +756,6 @@ meta_backend_class_init (MetaBackendClass *klass) object_class->constructed = meta_backend_constructed; klass->post_init = meta_backend_real_post_init; - klass->create_cursor_renderer = meta_backend_real_create_cursor_renderer; klass->grab_device = meta_backend_real_grab_device; klass->ungrab_device = meta_backend_real_ungrab_device; klass->select_stage_events = meta_backend_real_select_stage_events;