41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
From 6f3efe9ff6e7f4442b7beb244481c2c8f46e8d68 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com>
|
|
Date: Tue, 13 Apr 2021 18:39:36 +0300
|
|
Subject: [PATCH] compositor: enable xpresent
|
|
|
|
https://gitlab.gnome.org/GNOME/metacity/-/issues/13
|
|
---
|
|
data/schemas/org.gnome.metacity.gschema.xml | 2 +-
|
|
src/include/meta-compositor.h | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/data/schemas/org.gnome.metacity.gschema.xml b/data/schemas/org.gnome.metacity.gschema.xml
|
|
index c55d9727..79cb6dcd 100644
|
|
--- a/data/schemas/org.gnome.metacity.gschema.xml
|
|
+++ b/data/schemas/org.gnome.metacity.gschema.xml
|
|
@@ -33,7 +33,7 @@
|
|
<summary>Compositor</summary>
|
|
<description>
|
|
Compositor that Metacity will use for compositing. Possible values
|
|
- are “none” and “xrender”.
|
|
+ are “none”, “xrender” and “xpresent”.
|
|
</description>
|
|
</key>
|
|
|
|
diff --git a/src/include/meta-compositor.h b/src/include/meta-compositor.h
|
|
index 9e0778a6..1158d343 100644
|
|
--- a/src/include/meta-compositor.h
|
|
+++ b/src/include/meta-compositor.h
|
|
@@ -35,7 +35,7 @@ typedef enum
|
|
{
|
|
META_COMPOSITOR_TYPE_NONE,
|
|
META_COMPOSITOR_TYPE_XRENDER,
|
|
- META_COMPOSITOR_TYPE_XPRESENT, /*< skip >*/
|
|
+ META_COMPOSITOR_TYPE_XPRESENT,
|
|
META_COMPOSITOR_TYPE_EXTERNAL, /*< skip >*/
|
|
META_COMPOSITOR_TYPE_VULKAN /*< skip >*/
|
|
} MetaCompositorType;
|
|
--
|
|
GitLab
|
|
|