mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 14:44:10 +00:00
launcher: Pause Clutter during VT switches
This commit is contained in:
parent
446b75907e
commit
4ee8fb8154
@ -201,6 +201,7 @@ session_unpause (void)
|
|||||||
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_egl_thaw_master_clock ();
|
||||||
|
|
||||||
{
|
{
|
||||||
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
||||||
@ -220,6 +221,7 @@ static void
|
|||||||
session_pause (void)
|
session_pause (void)
|
||||||
{
|
{
|
||||||
clutter_evdev_release_devices ();
|
clutter_evdev_release_devices ();
|
||||||
|
clutter_egl_freeze_master_clock ();
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user