mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
wayland: Make MetaWaylandSurfaceRoleCursor derivable
This commit is contained in:
parent
7ecbca6291
commit
b0a3c472ea
@ -25,11 +25,16 @@
|
||||
#include "meta-wayland-surface.h"
|
||||
#include "backends/meta-cursor-renderer.h"
|
||||
|
||||
struct _MetaWaylandSurfaceRoleCursorClass
|
||||
{
|
||||
MetaWaylandSurfaceRoleClass parent_class;
|
||||
};
|
||||
|
||||
#define META_TYPE_WAYLAND_SURFACE_ROLE_CURSOR (meta_wayland_surface_role_cursor_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (MetaWaylandSurfaceRoleCursor,
|
||||
meta_wayland_surface_role_cursor,
|
||||
META, WAYLAND_SURFACE_ROLE_CURSOR,
|
||||
MetaWaylandSurfaceRole);
|
||||
G_DECLARE_DERIVABLE_TYPE (MetaWaylandSurfaceRoleCursor,
|
||||
meta_wayland_surface_role_cursor,
|
||||
META, WAYLAND_SURFACE_ROLE_CURSOR,
|
||||
MetaWaylandSurfaceRole);
|
||||
|
||||
MetaCursorSprite * meta_wayland_surface_role_cursor_get_sprite (MetaWaylandSurfaceRoleCursor *cursor_role);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user