[metacity] compositor: enable xpresent



commit 6f3efe9ff6e7f4442b7beb244481c2c8f46e8d68
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Apr 13 18:39:36 2021 +0300

    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 c55d97279..79cb6dcd0 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 9e0778a60..1158d343a 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;


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