yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=ba4204e8a85d885f052704a63e00c8ebdd06bfab

commit ba4204e8a85d885f052704a63e00c8ebdd06bfab
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Tue Apr 14 13:34:35 2015 +0300

    Don't call position set for main widgets.
    
    Otherwise it will be moved inside its auxiliary window
---
 src/lib/ffi_glue.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/ffi_glue.c b/src/lib/ffi_glue.c
index 0f36925..ac52616 100644
--- a/src/lib/ffi_glue.c
+++ b/src/lib/ffi_glue.c
@@ -45,7 +45,11 @@ manager_widget_property_add(Gui_Session *session, const 
Gui_Widget *wdg, const G
 {
    if (_wdg_prop_eo_do_test(session, wdg, prop))
      {
+        /* Don't call visible for window. Because it must be called after 
window creation.
+         * Affects only in generation. */
         if (IS_WIN(wdg) && !strcmp(prop_name_get(prop), VISIBLE_SET)) return 
EINA_TRUE;
+        /* Don't call position set for main widgets, otherwise it will be 
moved inside its auxiliary window. */
+        if (IS_MAIN(wdg) && !strcmp(prop_name_get(prop), POSITION_SET)) return 
EINA_TRUE;
         if (_modes_functions[mode].prop_add)
           {
              Eina_Bool ret;

-- 


Reply via email to