mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
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:
parent
cca07612b8
commit
57fdd7efd2
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user