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

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit be15de547a8e5ecd075f9256f6ced3ff1147bc97
Author: Alastair Poole <[email protected]>
AuthorDate: Fri Apr 17 23:45:59 2026 +0100

    gadcon: don't clamp max size for autoscroll clients
    
    Autoscroll gadgets were still getting their base object max size clamped to
    the container size in _e_gadcon_moveresize_handle(). After restart, this
    could prevent overflow, so tasks looked full but had nothing to scroll.
    
    For autoscroll clients, set max size hint to unlimited (-1, -1).
    Keep the existing clamp for non-autoscroll clients.
---
 src/bin/e_gadcon.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index da2995306..045b556b2 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -2212,7 +2212,10 @@ _e_gadcon_moveresize_handle(E_Gadcon_Client *gcc)
           }
      }
    evas_object_size_hint_min_set(gcc->o_base, w, h);
-   evas_object_size_hint_max_set(gcc->o_base, mw, mh);
+   if (gcc->autoscroll)
+     evas_object_size_hint_max_set(gcc->o_base, -1, -1);
+   else
+     evas_object_size_hint_max_set(gcc->o_base, mw, mh);
    evas_object_size_hint_min_set(gcc->o_box, 0, 0);
    _e_gadcon_client_scroll_state_update(gcc);
 }

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

Reply via email to