summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-07 18:49:19 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-07 18:49:19 +0200
commit4f947925a1d51402d73aa252913eb6a43c0e7dce (patch)
treee0d5b5d0ce859356ff143ba3e8ae5b3472168c1d /src/lib/elementary
parenteff717eb260e7bcac7ff4283942a239d0a4aa3f8 (diff)
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
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 8ce3e59..36ec921 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)
5955 pd->obj = obj; 5955 pd->obj = obj;
5956 pd->provider = efl_add_ref(EFL_UI_FOCUS_PARENT_PROVIDER_STANDARD_CLASS, NULL); 5956 pd->provider = efl_add_ref(EFL_UI_FOCUS_PARENT_PROVIDER_STANDARD_CLASS, NULL);
5957 pd->profile.available = eina_array_new(4); 5957 pd->profile.available = eina_array_new(4);
5958 pd->max_w = pd->max_h = -1;
5958 5959
5959 // For bindings: if no parent, allow simple unref 5960 // For bindings: if no parent, allow simple unref
5960 if (!efl_parent_get(obj)) 5961 if (!efl_parent_get(obj))