mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
meta-weston-launch: Pause Clutter during VT switches
This commit is contained in:
parent
1436017344
commit
68626eb9cd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user