From 57fdd7efd2d2ef05df86c60e36e200a15a9918a0 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 24 Apr 2023 12:07:06 +0200 Subject: [PATCH] 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: --- src/frames/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frames/main.c b/src/frames/main.c index d03299c5e..10e1dcae1 100644 --- a/src/frames/main.c +++ b/src/frames/main.c @@ -42,6 +42,8 @@ main (int argc, GMainLoop *loop; Display *xdisplay; + g_setenv ("GSK_RENDERER", "cairo", TRUE); + /* We do know the desired GDK backend, don't let * anyone tell us otherwise. */