From 283dec74c1323e4a9b6309ca15ac986bf1111111 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 11 Mar 2014 17:38:03 -0400 Subject: [PATCH] hack to get things working for demo have to figure out something better to put here --- src/wayland/meta-login1.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wayland/meta-login1.c b/src/wayland/meta-login1.c index 024fd0050..067cc022f 100644 --- a/src/wayland/meta-login1.c +++ b/src/wayland/meta-login1.c @@ -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; }