Use unset_patch() instead of unset_geometry().

Wed Mar 15 11:34:54 2006  Søren Sandmann  <sandmann@redhat.com>

	* src/c-screen.c (meta_screen_info_add_window): Use unset_patch()
	instead of unset_geometry().
This commit is contained in:
Søren Sandmann 2006-03-15 16:35:26 +00:00 committed by Søren Sandmann Pedersen
parent a401b82089
commit 4d6ee9ea49
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 15 11:34:54 2006 Søren Sandmann <sandmann@redhat.com>
* src/c-screen.c (meta_screen_info_add_window): Use unset_patch()
instead of unset_geometry().
Tue Mar 14 11:57:46 2006 Søren Sandmann <sandmann@redhat.com>
* src/compositor.c: Comment out wobbling

View File

@ -372,6 +372,9 @@ meta_screen_info_set_size (MetaScreenInfo *info,
WsDisplay *display = WS_RESOURCE (window)->display;
ws_display_begin_error_trap (display);
g_print ("meta screen info set: %d %d %d %d\n",
x, y, width, height);
cm_drawable_node_set_geometry (CM_DRAWABLE_NODE (node), &rect);
shape = ws_window_get_output_shape (window);
@ -471,7 +474,7 @@ out:
#if 0
g_print ("mapped\n");
#endif
cm_drawable_node_unset_geometry (node);
cm_drawable_node_unset_patch (node);
cm_drawable_node_set_alpha (node, 1.0);
cm_drawable_node_set_viewable (node, TRUE);
cm_drawable_node_update_pixmap (node);
@ -557,7 +560,7 @@ meta_screen_info_unset_patch (MetaScreenInfo *info,
CmDrawableNode *node = CM_DRAWABLE_NODE (find_node (info, xwindow));
if (node)
cm_drawable_node_unset_geometry (node);
cm_drawable_node_unset_patch (node);
}
void

View File

@ -882,12 +882,10 @@ set_geometry (MiniInfo *info, gdouble elapsed)
interpolate_rectangle (elapsed, &info->current_geometry, &info->target_geometry, &rect);
#if 0
g_print ("y: %d %d (%f => %d)\n", info->current_geometry.y, info->target_geometry.y,
elapsed, rect.y);
g_print ("setting: %d %d %d %d\n", rect.x, rect.y, rect.width, rect.height);
#endif
meta_screen_info_set_size (info->scr_info,
get_xid (info->window),