[Xfce4-commits] [xfce/xfwm4] 01/01: Report epoxy support

noreply at xfce.org noreply at xfce.org
Sat Mar 28 21:43:51 CET 2015


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 74633ddc8ebf67bf94e9dd7049739abbe4338d1a
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Sat Mar 28 21:43:10 2015 +0100

    Report epoxy support
    
    in both configure and help output.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 configure.ac.in  |    2 ++
 src/compositor.c |    1 +
 src/main.c       |    9 +++++++++
 3 files changed, 12 insertions(+)

diff --git a/configure.ac.in b/configure.ac.in
index 80aa94e..9bec579 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -99,6 +99,7 @@ XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.72])
 dnl
 dnl Sync to vblank support
 dnl
+EPOXY_FOUND="no"
 XDT_CHECK_OPTIONAL_PACKAGE([EPOXY],
                        [epoxy], [libepoxy_minimum_version],
                        [epoxy],
@@ -261,5 +262,6 @@ echo "  XSync support:                $have_xsync"
 echo "  Render support:               $have_render"
 echo "  Xrandr support:               $have_xrandr"
 echo "  Embedded compositor:          $compositor"
+echo "  Epoxy support:                $EPOXY_FOUND"
 echo "  KDE systray protocol proxy:   $kde_systray"
 echo
diff --git a/src/compositor.c b/src/compositor.c
index ef0a882..802e7a7 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1432,6 +1432,7 @@ vblank_init(ScreenInfo *screen_info)
     return TRUE;
 }
 
+/* Following routine is taken from gdk GL context code by Alexander Larsson */
 static void
 wait_vblank (ScreenInfo *screen_info)
 {
diff --git a/src/main.c b/src/main.c
index c041ade..5550b37 100644
--- a/src/main.c
+++ b/src/main.c
@@ -371,6 +371,15 @@ print_version (void)
     g_print ("No\n");
 #endif
 
+#ifdef HAVE_COMPOSITOR
+    g_print ("\t- Epoxy support:                                ");
+#ifdef HAVE_EPOXY
+    g_print ("Yes\n");
+#else
+    g_print ("No\n");
+#endif /* HAVE_EPOXY */
+#endif /* HAVE_COMPOSITOR */
+
     g_print ("\t- KDE systray proxy (deprecated):               ");
 #ifdef ENABLE_KDE_SYSTRAY_PROXY
     g_print ("Yes\n");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list