mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
meta-weston-launch: Pause Clutter during VT switches
This commit is contained in:
parent
c22d6ad69c
commit
de06346766
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user