summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-23 14:24:11 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-25 14:48:12 -0400
commit8dbea4a709fccbb8a79ac92c1c796289964c5e35 (patch)
tree731116dec1810d7d63a0f45da4b0ce2c445ec666
parentd0f1a57ade912c59b2686dc4fddcafdfd95e5c7a (diff)
elm_win: check for wayland engine during finalize by checking for wl win
fake wins don't provide engine info, but a wl win will still exist @fix
-rw-r--r--src/lib/elementary/efl_ui_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index cc936e5d93..e4d48c35a7 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5036,7 +5036,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
5036 5036
5037#ifdef HAVE_ELEMENTARY_WL2 5037#ifdef HAVE_ELEMENTARY_WL2
5038 _elm_win_wlwindow_get(sd); 5038 _elm_win_wlwindow_get(sd);
5039 if (eina_streq(engine, ELM_WAYLAND_SHM) || eina_streq(engine, ELM_WAYLAND_EGL)) 5039 if (sd->wl.win)
5040 { 5040 {
5041 Ecore_Wl2_Window_Type wtype; 5041 Ecore_Wl2_Window_Type wtype;
5042 sd->wl.configure_handler = 5042 sd->wl.configure_handler =