mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +00:00
clutter: Remove 'stage cursor' feature
It was unused. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
This commit is contained in:
parent
3b9409a139
commit
85de82bb4e
@ -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),
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user