mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 08:46:26 -05:00
default: Don't wait to show the stage
We can show it immediately now...
This commit is contained in:
parent
5298a834ef
commit
6b81a05341
@ -289,20 +289,6 @@ on_switch_workspace_effect_complete (ClutterTimeline *timeline, gpointer data)
|
|||||||
meta_plugin_switch_workspace_completed (plugin);
|
meta_plugin_switch_workspace_completed (plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
|
||||||
show_stage (MetaPlugin *plugin)
|
|
||||||
{
|
|
||||||
MetaScreen *screen;
|
|
||||||
ClutterActor *stage;
|
|
||||||
|
|
||||||
screen = meta_plugin_get_screen (plugin);
|
|
||||||
stage = meta_get_stage_for_screen (screen);
|
|
||||||
|
|
||||||
clutter_actor_show (stage);
|
|
||||||
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_monitors_changed (MetaScreen *screen,
|
on_monitors_changed (MetaScreen *screen,
|
||||||
MetaPlugin *plugin)
|
MetaPlugin *plugin)
|
||||||
@ -355,10 +341,7 @@ start (MetaPlugin *plugin)
|
|||||||
G_CALLBACK (on_monitors_changed), plugin);
|
G_CALLBACK (on_monitors_changed), plugin);
|
||||||
on_monitors_changed (screen, plugin);
|
on_monitors_changed (screen, plugin);
|
||||||
|
|
||||||
meta_later_add (META_LATER_BEFORE_REDRAW,
|
clutter_actor_show (meta_get_stage_for_screen (screen));
|
||||||
(GSourceFunc) show_stage,
|
|
||||||
plugin,
|
|
||||||
NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user