[mutter] wayland: Initialize SHM again



commit d41449b5782bf6a794dbca87f73c0f52d9dfb81e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Aug 19 18:27:21 2014 -0400

    wayland: Initialize SHM again
    
    Uh, whoops. I accidentally removed this when revamping the
    initialization sequence. This causes bad things to happen.

 src/wayland/meta-wayland.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 5b58a18..32fde1e 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -421,6 +421,8 @@ meta_wayland_init (void)
   g_source_set_priority (wayland_event_source, GDK_PRIORITY_EVENTS + 1);
   g_source_attach (wayland_event_source, NULL);
 
+  wl_display_init_shm (compositor->wayland_display);
+
   meta_wayland_outputs_init (compositor);
   meta_wayland_data_device_manager_init (compositor);
   meta_wayland_shell_init (compositor);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]