mirror of
https://github.com/brl/mutter.git
synced 2025-04-18 08:09:39 +00:00
Add more debugging notes
This commit is contained in:
parent
8b7c6955de
commit
0b7e459d48
@ -1166,6 +1166,11 @@ clutter_actor_realize (ClutterActor *self)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CLUTTER_NOTE (ACTOR, "Realizing actor '%s' [%p]",
|
||||||
|
self->priv->name ? self->priv->name
|
||||||
|
: G_OBJECT_TYPE_NAME (self),
|
||||||
|
self);
|
||||||
|
|
||||||
CLUTTER_ACTOR_SET_FLAGS (self, CLUTTER_ACTOR_REALIZED);
|
CLUTTER_ACTOR_SET_FLAGS (self, CLUTTER_ACTOR_REALIZED);
|
||||||
g_object_notify (G_OBJECT (self), "realized");
|
g_object_notify (G_OBJECT (self), "realized");
|
||||||
|
|
||||||
|
@ -113,7 +113,9 @@ clutter_stage_glx_realize (ClutterActor *actor)
|
|||||||
ClutterBackendX11 *backend_x11;
|
ClutterBackendX11 *backend_x11;
|
||||||
gboolean is_offscreen;
|
gboolean is_offscreen;
|
||||||
|
|
||||||
CLUTTER_NOTE (MISC, "Realizing main stage");
|
CLUTTER_NOTE (ACTOR, "Realizing stage '%s' [%p]",
|
||||||
|
G_OBJECT_TYPE_NAME (actor),
|
||||||
|
actor);
|
||||||
|
|
||||||
g_object_get (stage_x11->wrapper, "offscreen", &is_offscreen, NULL);
|
g_object_get (stage_x11->wrapper, "offscreen", &is_offscreen, NULL);
|
||||||
|
|
||||||
|
@ -757,11 +757,12 @@ clutter_x11_set_stage_foreign (ClutterStage *stage,
|
|||||||
void
|
void
|
||||||
clutter_stage_x11_map (ClutterStageX11 *stage_x11)
|
clutter_stage_x11_map (ClutterStageX11 *stage_x11)
|
||||||
{
|
{
|
||||||
/* set the mapped state on the wrapper */
|
CLUTTER_NOTE (BACKEND, "Mapping stage '%s' [%p]",
|
||||||
clutter_actor_map (CLUTTER_ACTOR (stage_x11->wrapper));
|
G_OBJECT_TYPE_NAME (stage_x11),
|
||||||
|
stage_x11);
|
||||||
|
|
||||||
/* and on the implementation second */
|
|
||||||
clutter_actor_map (CLUTTER_ACTOR (stage_x11));
|
clutter_actor_map (CLUTTER_ACTOR (stage_x11));
|
||||||
|
clutter_actor_map (CLUTTER_ACTOR (stage_x11->wrapper));
|
||||||
|
|
||||||
if (stage_x11->fullscreen_on_map)
|
if (stage_x11->fullscreen_on_map)
|
||||||
clutter_stage_fullscreen (CLUTTER_STAGE (stage_x11->wrapper));
|
clutter_stage_fullscreen (CLUTTER_STAGE (stage_x11->wrapper));
|
||||||
@ -774,9 +775,10 @@ clutter_stage_x11_map (ClutterStageX11 *stage_x11)
|
|||||||
void
|
void
|
||||||
clutter_stage_x11_unmap (ClutterStageX11 *stage_x11)
|
clutter_stage_x11_unmap (ClutterStageX11 *stage_x11)
|
||||||
{
|
{
|
||||||
/* like above, unset the MAPPED stage on both the implementation and
|
CLUTTER_NOTE (BACKEND, "Unmapping stage '%s' [%p]",
|
||||||
* the wrapper, but unmap in reverse order from map
|
G_OBJECT_TYPE_NAME (stage_x11),
|
||||||
*/
|
stage_x11);
|
||||||
|
|
||||||
clutter_actor_unmap (CLUTTER_ACTOR (stage_x11));
|
clutter_actor_unmap (CLUTTER_ACTOR (stage_x11));
|
||||||
clutter_actor_unmap (CLUTTER_ACTOR (stage_x11->wrapper));
|
clutter_actor_unmap (CLUTTER_ACTOR (stage_x11->wrapper));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user