frames: Use cairo renderer on GTK frames

Going for the default GL renderer is known to trigger rendering
artifacts using the NVidia proprietary driver. Since we don't have
too many expectatives about frames being flashy (not to the point
of mandating GL), resort to the cairo renderer in the mean time.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2976>
This commit is contained in:
Carlos Garnacho 2023-04-24 12:07:06 +02:00
parent cca07612b8
commit 57fdd7efd2

View File

@ -42,6 +42,8 @@ main (int argc,
GMainLoop *loop; GMainLoop *loop;
Display *xdisplay; Display *xdisplay;
g_setenv ("GSK_RENDERER", "cairo", TRUE);
/* We do know the desired GDK backend, don't let /* We do know the desired GDK backend, don't let
* anyone tell us otherwise. * anyone tell us otherwise.
*/ */