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

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 426d55c459a40acb7d9849f9db022dc411bac502
Author: Carsten Haitzler <[email protected]>
AuthorDate: Mon Jan 5 19:02:54 2026 +0000

    ecore evas - x - tone down noise on sel change+get
    
    @fix
---
 src/lib/elementary/elm_cnp.c                    | 2 +-
 src/modules/ecore_evas/engines/x/ecore_evas_x.c | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c
index 844d33ff55..eb88de7e77 100644
--- a/src/lib/elementary/elm_cnp.c
+++ b/src/lib/elementary/elm_cnp.c
@@ -283,7 +283,7 @@ end:
 static Eina_Value
 _callback_storage_error(Eo *obj EINA_UNUSED, void *data EINA_UNUSED, Eina_Error error)
 {
-   ERR("Content cound not be received because of %s.", eina_error_msg_get(error));
+   WRN("Content cound not be received because of %s.", eina_error_msg_get(error));
    return EINA_VALUE_EMPTY;
 }
 
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 18dc41a1c3..b577a2a840 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -3993,9 +3993,10 @@ _ecore_evas_x_selection_notify(void *udata EINA_UNUSED, int type EINA_UNUSED, vo
         if (eina_streq(ev->target, "TARGETS") || eina_streq(ev->target, "ATOMS"))
           {
              //This will decide for a type, and will sent that via _ecore_x_selection_request
-             EINA_SAFETY_ON_FALSE_RETURN_VAL(!edata->selection_data[selection].later_conversion, EINA_FALSE);
-             EINA_SAFETY_ON_FALSE_RETURN_VAL(!edata->selection_data[selection].requested_type, EINA_FALSE);
-             _search_fitting_type_from_event(ee, edata, selection, ev);
+             if ((!edata->selection_data[selection].later_conversion) ||
+                 (!edata->selection_data[selection].requested_type))
+               _search_fitting_type_from_event(ee, edata, selection, ev);
+             else return EINA_FALSE;
           }
         else
           {

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

Reply via email to