devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=41a120eafeb84ea450bb34ea73e142c327324ba7

commit 41a120eafeb84ea450bb34ea73e142c327324ba7
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon May 18 11:32:09 2015 -0400

    ELM_WIN_DIALOG_BASIC is broken in wl right now, so for wl create
    normal elm windows for now.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_config_dialog.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_config_dialog.c b/src/bin/e_config_dialog.c
index 67f9951..3175642 100644
--- a/src/bin/e_config_dialog.c
+++ b/src/bin/e_config_dialog.c
@@ -188,7 +188,13 @@ _e_config_dialog_go(E_Config_Dialog *cfd, 
E_Config_Dialog_CFData_Type type)
         if ((cfd->view->normal_win) || (e_config->cfgdlg_normal_wins))
           cfd->dia = e_dialog_normal_win_new(cfd->parent, cfd->name, buf);
         else
-          cfd->dia = e_dialog_new(cfd->parent, cfd->name, buf);
+          {
+#warning REMOVE STUPID ELM HACK FOR WAYLAND BEFORE RELEASE
+             if (e_comp && e_comp->comp_type != E_PIXMAP_TYPE_WL)
+               cfd->dia = e_dialog_new(cfd->parent, cfd->name, buf);
+             else
+               cfd->dia = e_dialog_normal_win_new(cfd->parent, cfd->name, buf);
+          }
         e_object_del_attach_func_set(E_OBJECT(cfd->dia),
                                      _e_config_dialog_cb_dialog_del);
      } /* window was created before - deleting content only */

-- 


Reply via email to