diff --git a/srcpkgs/mutter/patches/meta-backend-x11.patch b/srcpkgs/mutter/patches/meta-backend-x11.patch new file mode 100644 index 0000000000..3e24677ecb --- /dev/null +++ b/srcpkgs/mutter/patches/meta-backend-x11.patch @@ -0,0 +1,15 @@ +--- src/backends/x11/meta-backend-x11.c 2017-05-11 06:30:09.000000000 -0600 ++++ src/backends/x11/meta-backend-x11.c 2017-06-05 12:10:43.010474780 -0600 +@@ -612,12 +612,6 @@ + static void + meta_backend_x11_init (MetaBackendX11 *x11) + { +- /* XInitThreads() is needed to use the "threaded swap wait" functionality +- * in Cogl - see meta_renderer_x11_create_cogl_renderer(). We call it here +- * to hopefully call it before any other use of XLib. +- */ +- XInitThreads(); +- + clutter_x11_request_reset_on_video_memory_purge (); + + /* We do X11 event retrieval ourselves */ diff --git a/srcpkgs/mutter/patches/meta-renderer-x11.patch b/srcpkgs/mutter/patches/meta-renderer-x11.patch new file mode 100644 index 0000000000..b6f7295a65 --- /dev/null +++ b/srcpkgs/mutter/patches/meta-renderer-x11.patch @@ -0,0 +1,17 @@ +--- src/backends/x11/meta-renderer-x11.c 2017-05-11 06:30:09.000000000 -0600 ++++ src/backends/x11/meta-renderer-x11.c 2017-06-05 12:14:08.090473267 -0600 +@@ -79,14 +79,6 @@ + cogl_renderer_set_custom_winsys (cogl_renderer, get_x11_cogl_winsys_vtable); + cogl_xlib_renderer_set_foreign_display (cogl_renderer, xdisplay); + +- /* Set up things so that if the INTEL_swap_event extension is not present, +- * but the driver is known to have good thread support, we use an extra +- * thread and call glXWaitVideoSync() in the thread. This allows idles +- * to work properly, even when Mutter is constantly redrawing new frames; +- * otherwise, without INTEL_swap_event, we'll just block in glXSwapBuffers(). +- */ +- cogl_xlib_renderer_set_threaded_swap_wait_enabled (cogl_renderer, TRUE); +- + return cogl_renderer; + } + diff --git a/srcpkgs/mutter/template b/srcpkgs/mutter/template index bb7b88cf87..8e55850fb9 100644 --- a/srcpkgs/mutter/template +++ b/srcpkgs/mutter/template @@ -1,7 +1,7 @@ # Template file for 'mutter' pkgname=mutter version=3.24.2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-schemas-compile --disable-static --enable-egl-device" hostmakedepends="pkg-config zenity glib-devel gobject-introspection"