mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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:
parent
a401b82089
commit
4d6ee9ea49
@ -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>
|
Tue Mar 14 11:57:46 2006 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* src/compositor.c: Comment out wobbling
|
* src/compositor.c: Comment out wobbling
|
||||||
|
@ -373,6 +373,9 @@ meta_screen_info_set_size (MetaScreenInfo *info,
|
|||||||
|
|
||||||
ws_display_begin_error_trap (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);
|
cm_drawable_node_set_geometry (CM_DRAWABLE_NODE (node), &rect);
|
||||||
shape = ws_window_get_output_shape (window);
|
shape = ws_window_get_output_shape (window);
|
||||||
cm_drawable_node_set_shape (node, shape);
|
cm_drawable_node_set_shape (node, shape);
|
||||||
@ -471,7 +474,7 @@ out:
|
|||||||
#if 0
|
#if 0
|
||||||
g_print ("mapped\n");
|
g_print ("mapped\n");
|
||||||
#endif
|
#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_alpha (node, 1.0);
|
||||||
cm_drawable_node_set_viewable (node, TRUE);
|
cm_drawable_node_set_viewable (node, TRUE);
|
||||||
cm_drawable_node_update_pixmap (node);
|
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));
|
CmDrawableNode *node = CM_DRAWABLE_NODE (find_node (info, xwindow));
|
||||||
|
|
||||||
if (node)
|
if (node)
|
||||||
cm_drawable_node_unset_geometry (node);
|
cm_drawable_node_unset_patch (node);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -882,12 +882,10 @@ set_geometry (MiniInfo *info, gdouble elapsed)
|
|||||||
|
|
||||||
interpolate_rectangle (elapsed, &info->current_geometry, &info->target_geometry, &rect);
|
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,
|
g_print ("y: %d %d (%f => %d)\n", info->current_geometry.y, info->target_geometry.y,
|
||||||
elapsed, rect.y);
|
elapsed, rect.y);
|
||||||
|
|
||||||
g_print ("setting: %d %d %d %d\n", rect.x, rect.y, rect.width, rect.height);
|
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,
|
meta_screen_info_set_size (info->scr_info,
|
||||||
get_xid (info->window),
|
get_xid (info->window),
|
||||||
|
Loading…
Reference in New Issue
Block a user