projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81adac8
)
elm_win: remove engine checks from wl_window_get
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 7 Jul 2017 20:26:50 +0000
(16:26 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 7 Jul 2017 19:22:23 +0000
(15:22 -0400)
if there's a win, return it, otherwise this returns null anyway
src/lib/elementary/efl_ui_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_win.c
b/src/lib/elementary/efl_ui_win.c
index
56d9c0c
..
fc8a5ea
100644
(file)
--- a/
src/lib/elementary/efl_ui_win.c
+++ b/
src/lib/elementary/efl_ui_win.c
@@
-6992,14
+6992,8
@@
EAPI Ecore_Wl2_Window *
elm_win_wl_window_get(const Evas_Object *obj)
{
Efl_Ui_Win_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
- const char *engine_name;
if (!sd) return NULL;
- engine_name = ecore_evas_engine_name_get(sd->ee);
- if (!(engine_name &&
- ((!strcmp(engine_name, ELM_WAYLAND_SHM)) ||
- (!strcmp(engine_name, ELM_WAYLAND_EGL)))))
- return NULL;
if (!evas_object_smart_type_check_ptr(obj, MY_CLASS_NAME_LEGACY))
{