mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
hack to get things working for demo
have to figure out something better to put here
This commit is contained in:
parent
4fec9e4eba
commit
283dec74c1
@ -171,7 +171,7 @@ session_unpause (void)
|
||||
cogl_kms_display_queue_modes_reset (cogl_display);
|
||||
|
||||
clutter_set_paused (FALSE);
|
||||
clutter_evdev_reclaim_devices ();
|
||||
/* clutter_evdev_reclaim_devices (); */
|
||||
|
||||
{
|
||||
MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default ();
|
||||
@ -189,7 +189,7 @@ static void
|
||||
session_pause (void)
|
||||
{
|
||||
clutter_set_paused (TRUE);
|
||||
clutter_evdev_release_devices ();
|
||||
/* clutter_evdev_release_devices (); */
|
||||
}
|
||||
|
||||
static void
|
||||
@ -399,6 +399,7 @@ meta_login1_new (void)
|
||||
self->session_proxy = session_proxy;
|
||||
self->seat_proxy = get_seat_proxy (NULL);
|
||||
|
||||
/* Clutter/Cogl start out in a state that assumes the session is active */
|
||||
self->session_active = TRUE;
|
||||
|
||||
clutter_egl_native_set_kms_fd (kms_fd);
|
||||
@ -407,6 +408,7 @@ meta_login1_new (void)
|
||||
self);
|
||||
|
||||
g_signal_connect (self->session_proxy, "notify::active", G_CALLBACK (on_active_changed), self);
|
||||
sync_active (self);
|
||||
|
||||
return self;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user