[mutter/wip/login1: 137/139] meta-weston-launch: Pause Clutter during VT switches



commit 3b690ed1da47299c12a1d870c0401ecf2a9c08a3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Mar 11 17:34:19 2014 -0400

    meta-weston-launch: Pause Clutter during VT switches

 src/wayland/meta-weston-launch.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-weston-launch.c b/src/wayland/meta-weston-launch.c
index b83ab99..0228f74 100644
--- a/src/wayland/meta-weston-launch.c
+++ b/src/wayland/meta-weston-launch.c
@@ -203,6 +203,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 ();
@@ -220,6 +221,7 @@ static void
 meta_launcher_leave (MetaLauncher *launcher)
 {
   clutter_evdev_release_devices ();
+  clutter_set_paused (TRUE);
 }
 
 static int


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]