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));