From eed6f29b304268b2c254848985cd7afd349fda0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann?= Date: Fri, 3 Mar 2006 20:31:41 +0000 Subject: [PATCH] Update for libcm API change. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fri Mar 3 15:31:04 2006 Søren Sandmann * src/c-screen.c (meta_screen_info_new): Update for libcm API change. --- ChangeLog | 5 +++++ src/c-screen.c | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c2bdc364f..fd4dd7d9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 3 15:31:04 2006 Søren Sandmann + + * src/c-screen.c (meta_screen_info_new): Update for libcm API + change. + Wed Mar 3 13:25:03 2006 Søren Sandmann * src/compositor.c, src/c-screen.[ch]: Split the ScreenInfo data diff --git a/src/c-screen.c b/src/c-screen.c index 99df4d258..b6fbd3a16 100644 --- a/src/c-screen.c +++ b/src/c-screen.c @@ -17,10 +17,9 @@ * 02111-1307, USA. */ -#ifdef HAVE_COMPOSITOR_EXTENSIONS - #include +#ifdef HAVE_COMPOSITE_EXTENSIONS #include #include #include @@ -160,7 +159,7 @@ meta_screen_info_new (WsDisplay *display, MetaScreen *screen) { MetaScreenInfo *scr_info = g_new0 (MetaScreenInfo, 1); - WsRegion *region; + WsServerRegion *region; scr_info->screen = ws_display_get_screen_from_number ( display, screen->number); @@ -171,7 +170,7 @@ meta_screen_info_new (WsDisplay *display, /* FIXME: This should probably happen in libcm */ ws_window_set_override_redirect (scr_info->gl_window, TRUE); - region = ws_region_new (scr_info->display); + region = ws_server_region_new (scr_info->display); ws_window_set_input_shape (scr_info->gl_window, region); g_object_unref (G_OBJECT (region));