meta-weston-launch: Pause Clutter during VT switches

This commit is contained in:
Jasper St. Pierre 2014-03-11 17:34:19 -04:00
parent c22d6ad69c
commit de06346766

View File

@ -205,6 +205,7 @@ meta_launcher_enter (MetaLauncher *launcher)
cogl_kms_display_queue_modes_reset (cogl_display);
clutter_evdev_reclaim_devices ();
clutter_set_paused (FALSE);
{
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
@ -222,6 +223,7 @@ static void
meta_launcher_leave (MetaLauncher *launcher)
{
clutter_evdev_release_devices ();
clutter_set_paused (TRUE);
}
static int