summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index c62559d1bd..170edd2928 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -7629,8 +7629,16 @@ elm_win_cocoa_window_get(const Evas_Object *obj)
7629 Efl_Ui_Win_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS); 7629 Efl_Ui_Win_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
7630 if (!sd) return NULL; 7630 if (!sd) return NULL;
7631 7631
7632#if HAVE_ELEMENTARY_COCOA
7633 if (sd->cocoa.win) return sd->cocoa.win;
7634 if (sd->ee) return _elm_ee_cocoa_win_get(sd->ee);
7635 if (sd->parent) return elm_win_cocoa_window_get(sd->parent);
7636#endif
7637
7632 Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(obj)); 7638 Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(obj));
7633 return _elm_ee_cocoa_win_get(ee); 7639 return _elm_ee_cocoa_win_get(ee);
7640
7641 return NULL;
7634} 7642}
7635 7643
7636EAPI Ecore_Win32_Window * 7644EAPI Ecore_Win32_Window *