[mutter] launcher: Pause Clutter during VT switches



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

    launcher: Pause Clutter during VT switches

 src/backends/native/meta-launcher.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/native/meta-launcher.c b/src/backends/native/meta-launcher.c
index c5957a5..8496278 100644
--- a/src/backends/native/meta-launcher.c
+++ b/src/backends/native/meta-launcher.c
@@ -201,6 +201,7 @@ session_unpause (void)
   cogl_kms_display_queue_modes_reset (cogl_display);
 
   clutter_evdev_reclaim_devices ();
+  clutter_egl_thaw_master_clock ();
 
   {
     MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
@@ -220,6 +221,7 @@ static void
 session_pause (void)
 {
   clutter_evdev_release_devices ();
+  clutter_egl_freeze_master_clock ();
 }
 
 static int


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