[xdg-desktop-portal-gnome] Force the cairo renderer for now



commit 7f6357032d0f7b936242f05b13dab59807a44ebc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Sep 23 17:01:55 2021 -0300

    Force the cairo renderer for now
    
    Ideally we'd be using the GL renderer everywhere, but seems like
    Mesa does not enjoy when we use GLX and EGL simultaneously. When
    EGL on X11 becomes a reality, let's revert this change.
    
    Closes https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/5

 src/xdg-desktop-portal-gnome.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/xdg-desktop-portal-gnome.c b/src/xdg-desktop-portal-gnome.c
index b17d8aa..03a24f1 100644
--- a/src/xdg-desktop-portal-gnome.c
+++ b/src/xdg-desktop-portal-gnome.c
@@ -191,6 +191,7 @@ main (int argc, char *argv[])
   /* Avoid pointless and confusing recursion */
   g_unsetenv ("GTK_USE_PORTAL");
   g_setenv ("ADW_DISABLE_PORTAL", "1", TRUE);
+  g_setenv ("GSK_RENDERER", "cairo", TRUE);
 
   gtk_init ();
 


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