summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index e009dfb91e..b74ab6213e 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -396,7 +396,7 @@ ecore_wl_window_surface_create(Ecore_Wl_Window *win)
396 EINA_SAFETY_ON_NULL_RETURN_VAL(win, NULL); 396 EINA_SAFETY_ON_NULL_RETURN_VAL(win, NULL);
397 397
398 if (win->surface) return win->surface; 398 if (win->surface) return win->surface;
399 if (_ecore_wl_disp->wl.session_recovery) 399 if (_ecore_wl_disp->wl.session_recovery && getenv("EFL_WAYLAND_SESSION_RECOVERY"))
400 session_recovery_add_listener(_ecore_wl_disp->wl.session_recovery, &_ecore_session_recovery_listener, win); 400 session_recovery_add_listener(_ecore_wl_disp->wl.session_recovery, &_ecore_session_recovery_listener, win);
401 win->surface = wl_compositor_create_surface(_ecore_wl_compositor_get()); 401 win->surface = wl_compositor_create_surface(_ecore_wl_compositor_get());
402 if (!win->surface) return NULL; 402 if (!win->surface) return NULL;