mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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:
parent
888d900cb3
commit
46ce2ee737
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user