mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
g_object_unref() rather than ws_region_unref().
Thu Jan 19 18:05:47 2006 Søren Sandmann <sandmann@redhat.com> * src/compositor.c (meta_compositor_manage_screen): g_object_unref() rather than ws_region_unref().
This commit is contained in:
parent
24976318b5
commit
5f9a097d2c
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 19 18:05:47 2006 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
|
* src/compositor.c (meta_compositor_manage_screen):
|
||||||
|
g_object_unref() rather than ws_region_unref().
|
||||||
|
|
||||||
Thu Jan 19 16:50:50 2006 Søren Sandmann <sandmann@redhat.com>
|
Thu Jan 19 16:50:50 2006 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* src/compositor.c: Port to changes in libcm
|
* src/compositor.c: Port to changes in libcm
|
||||||
|
@ -582,7 +582,8 @@ update (gpointer data)
|
|||||||
glEnable (GL_TEXTURE_2D);
|
glEnable (GL_TEXTURE_2D);
|
||||||
draw_windows (screen, scr_info->compositor_nodes);
|
draw_windows (screen, scr_info->compositor_nodes);
|
||||||
|
|
||||||
/* FIXME: we should probably grab the server around the raise/swap */
|
/* FIXME: we should probably grab the server around the raise/swap
|
||||||
|
*/
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
ws_display_grab (ws_drawable_get_display ((WsDrawable *)gl_window));
|
ws_display_grab (ws_drawable_get_display ((WsDrawable *)gl_window));
|
||||||
@ -745,7 +746,7 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
|
|||||||
|
|
||||||
region = ws_region_new (compositor->display);
|
region = ws_region_new (compositor->display);
|
||||||
ws_window_set_input_shape (scr_info->glw, region);
|
ws_window_set_input_shape (scr_info->glw, region);
|
||||||
ws_region_unref (region);
|
g_object_unref (G_OBJECT (region));
|
||||||
|
|
||||||
ws_window_map (scr_info->glw);
|
ws_window_map (scr_info->glw);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user