stage/x11: Add a debug note for unrealization

We remove the ClutterStageWindow ↔ Window mapping in the ::unrealize
implementation; let's just check that we get there using a simple
debug note.
This commit is contained in:
Emmanuele Bassi 2011-02-13 19:25:21 +00:00
parent c2c51b2950
commit 7c356fd05b

View File

@ -1341,7 +1341,13 @@ _clutter_stage_x11_destroy_window_untrapped (ClutterStageX11 *stage_x11)
Window xwin = stage_x11->xwin;
if (clutter_stages_by_xid != NULL)
g_hash_table_remove (clutter_stages_by_xid, GINT_TO_POINTER (xwin));
{
CLUTTER_NOTE (BACKEND, "Removing X11 stage 0x%x [%p]",
(unsigned int) xwin,
stage_x11);
g_hash_table_remove (clutter_stages_by_xid, GINT_TO_POINTER (xwin));
}
if (!stage_x11->is_foreign_xwin && xwin != None)
{