From d1a31952de5dd582f4e6292a86377163d1209de3 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 21 Apr 2014 20:55:54 -0400 Subject: [PATCH] wayland-stage: Use the C setter for cursor-visible This makes meta_wayland_stage_new(); synonymous with g_object_newv(...); --- src/wayland/meta-wayland-stage.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wayland/meta-wayland-stage.c b/src/wayland/meta-wayland-stage.c index 71d3511b5..6e16b14d1 100644 --- a/src/wayland/meta-wayland-stage.c +++ b/src/wayland/meta-wayland-stage.c @@ -54,12 +54,11 @@ static void meta_wayland_stage_init (MetaWaylandStage *self) { clutter_stage_set_user_resizable (CLUTTER_STAGE (self), FALSE); + clutter_stage_set_cursor_visible (CLUTTER_STAGE (self), FALSE); } ClutterActor * meta_wayland_stage_new (void) { - return g_object_new (META_TYPE_WAYLAND_STAGE, - "cursor-visible", FALSE, - NULL); + return g_object_new (META_TYPE_WAYLAND_STAGE, NULL); }