Bug 1434 - _NET_WM_NAME not set before realize

Moved clutter_stage_set_title() before call to clutter_actor_realize()
to ensure _NET_WM_NAME is set early enough for use by interested WM's,

Signed-off-by: Shane Bryan <shane.bryan@linux.intel.com>
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Shane Bryan 2009-02-03 17:04:58 -08:00 committed by Emmanuele Bassi
parent 888d900cb3
commit 46ce2ee737

View File

@ -1171,6 +1171,8 @@ clutter_init_real (GError **error)
return CLUTTER_INIT_ERROR_INTERNAL;
}
clutter_stage_set_title (CLUTTER_STAGE (stage), g_get_prgname ());
clutter_actor_realize (stage);
if (!CLUTTER_ACTOR_IS_REALIZED (stage))
@ -1227,8 +1229,6 @@ clutter_init_real (GError **error)
/* finally features - will call to backend and cogl */
_clutter_feature_init ();
clutter_stage_set_title (CLUTTER_STAGE (stage), g_get_prgname ());
clutter_is_initialized = TRUE;
ctx->is_initialized = TRUE;