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 1436017344
commit 68626eb9cd

View File

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