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

git pushed a commit to reference refs/pull/122/head
in repository efl.

View the commit online.

commit 35ec8f832e890a61414808804d975410bbfed22a
Author: Cedric BAIL <[email protected]>
AuthorDate: Wed Nov 25 16:56:30 2026 -0600

    efl: enable xpresent by default
    
    Per-window ticking in ecore_evas needs XPresent, and it was silently
    off when libxpresent was missing at configure time. A missing
    libXpresent is now a configure error with a hint to use
    -Dxpresent=false. The README lists libxpresent as a dependency.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 README.md                   | 1 +
 meson_options.txt           | 4 ++--
 src/lib/ecore_x/meson.build | 3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 27c873e1d3..ba9f024fa2 100644
--- a/README.md
+++ b/README.md
@@ -376,6 +376,7 @@ Required by default:
 * libxext
 * libxfixes
 * libxinerama
+* libxpresent
 * libxrandr
 * libxrender
 * libxss
diff --git a/meson_options.txt b/meson_options.txt
index 19df35649b..e6a4fa9f14 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -158,8 +158,8 @@ option('network-backend',
 
 option('xpresent',
   type : 'boolean',
-  value : false,
-  description : 'X11 XPresent extension support in efl'
+  value : true,
+  description : 'X11 XPresent extension support (Present events, per-window animator ticking in ecore_evas)'
 )
 
 option('xinput2',
diff --git a/src/lib/ecore_x/meson.build b/src/lib/ecore_x/meson.build
index c62ec4df99..766a1457f3 100644
--- a/src/lib/ecore_x/meson.build
+++ b/src/lib/ecore_x/meson.build
@@ -104,7 +104,8 @@ int main () {
     ) == true
     config_h.set('ECORE_'+ecore_x_check[0].to_upper(), '1')
   else
-    error('extension '+ecore_x_check[0]+' not found for X11')
+    hint = ecore_x_check[0] == 'Xpresent' ? ', or configure with -Dxpresent=false' : ''
+    error('extension '+ecore_x_check[0]+' not found for X11'+hint)
   endif
   ecore_x_ext_deps += x_lib
 endforeach

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

Reply via email to