xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4f947925a1d51402d73aa252913eb6a43c0e7dce

commit 4f947925a1d51402d73aa252913eb6a43c0e7dce
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Oct 7 18:49:19 2019 +0200

    efl_ui/win: initialize max size hints to -1 during constructor
    
    Summary:
    this is just a cosmetic change for ease of debugging since it will already
    be clamped to max size during eval if it remains unchanged
    
    for max size hints a value of -1 means that the hint is unset but a value
    of 0 is technically valid depending on the implementation
    Depends on D10296
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10297
---
 src/lib/elementary/efl_ui_win.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 8ce3e59a81..36ec921f61 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5955,6 +5955,7 @@ _efl_ui_win_efl_object_constructor(Eo *obj, 
Efl_Ui_Win_Data *pd)
    pd->obj = obj;
    pd->provider = efl_add_ref(EFL_UI_FOCUS_PARENT_PROVIDER_STANDARD_CLASS, 
NULL);
    pd->profile.available = eina_array_new(4);
+   pd->max_w = pd->max_h = -1;
 
    // For bindings: if no parent, allow simple unref
    if (!efl_parent_get(obj))

-- 


Reply via email to