[mutter] clutter: Remove 'stage cursor' feature
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter: Remove 'stage cursor' feature
- Date: Mon, 18 Oct 2021 15:06:33 +0000 (UTC)
commit 85de82bb4e30ad60213d35a1b23798020be478c1
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Sep 17 09:43:35 2021 +0200
clutter: Remove 'stage cursor' feature
It was unused.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
clutter/clutter/clutter-enums.h | 2 --
src/backends/x11/meta-clutter-backend-x11.c | 13 -------------
2 files changed, 15 deletions(-)
---
diff --git a/clutter/clutter/clutter-enums.h b/clutter/clutter/clutter-enums.h
index 54344248f4..2ae6d50bcc 100644
--- a/clutter/clutter/clutter-enums.h
+++ b/clutter/clutter/clutter-enums.h
@@ -899,7 +899,6 @@ typedef enum /*< prefix=CLUTTER_SCROLL >*/
/**
* ClutterFeatureFlags:
* @CLUTTER_FEATURE_STAGE_STATIC: Set if stage size if fixed (i.e framebuffer)
- * @CLUTTER_FEATURE_STAGE_CURSOR: Set if stage has a graphical cursor.
* @CLUTTER_FEATURE_SHADERS_GLSL: Set if the backend supports GLSL shaders.
* @CLUTTER_FEATURE_OFFSCREEN: Set if the backend supports offscreen rendering.
* @CLUTTER_FEATURE_STAGE_MULTIPLE: Set if multiple stages are supported.
@@ -913,7 +912,6 @@ typedef enum /*< prefix=CLUTTER_SCROLL >*/
typedef enum
{
CLUTTER_FEATURE_STAGE_STATIC = (1 << 6),
- CLUTTER_FEATURE_STAGE_CURSOR = (1 << 8),
CLUTTER_FEATURE_SHADERS_GLSL = (1 << 9),
CLUTTER_FEATURE_OFFSCREEN = (1 << 10),
CLUTTER_FEATURE_STAGE_MULTIPLE = (1 << 11),
diff --git a/src/backends/x11/meta-clutter-backend-x11.c b/src/backends/x11/meta-clutter-backend-x11.c
index 6ea57da8a7..fafe319413 100644
--- a/src/backends/x11/meta-clutter-backend-x11.c
+++ b/src/backends/x11/meta-clutter-backend-x11.c
@@ -178,18 +178,6 @@ meta_clutter_backend_x11_finalize (GObject *gobject)
G_OBJECT_CLASS (meta_clutter_backend_x11_parent_class)->finalize (gobject);
}
-static ClutterFeatureFlags
-meta_clutter_backend_x11_get_features (ClutterBackend *clutter_backend)
-{
- ClutterBackendClass *parent_class =
- CLUTTER_BACKEND_CLASS (meta_clutter_backend_x11_parent_class);
- ClutterFeatureFlags flags = CLUTTER_FEATURE_STAGE_CURSOR;
-
- flags |= parent_class->get_features (clutter_backend);
-
- return flags;
-}
-
static void
update_last_event_time (MetaClutterBackendX11 *clutter_backend_x11,
XEvent *xevent)
@@ -442,7 +430,6 @@ meta_clutter_backend_x11_class_init (MetaClutterBackendX11Class *klass)
gobject_class->finalize = meta_clutter_backend_x11_finalize;
clutter_backend_class->finish_init = meta_clutter_backend_x11_finish_init;
- clutter_backend_class->get_features = meta_clutter_backend_x11_get_features;
clutter_backend_class->get_display = meta_clutter_backend_x11_get_display;
clutter_backend_class->get_renderer = meta_clutter_backend_x11_get_renderer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]