wayland ee: Don't clear the window pointer during session recovery
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 29 Nov 2017 21:24:02 +0000 (15:24 -0600)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 1 Dec 2017 16:58:44 +0000 (10:58 -0600)
The same pointer is valid post recovery, and anything that used to
check this for NULL now checks that the window's display is NULL
which is handled in ecore_wl2 now.

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 19163cb..54daeb3 100644 (file)
@@ -187,8 +187,6 @@ _ee_display_unset(Ecore_Evas *ee)
    einfo = (Evas_Engine_Info_Wayland *)evas_engine_info_get(ee->evas);
    if (!einfo) return;
 
-   einfo->info.wl2_win = NULL;
-
    wdata = ee->engine.data;
    if (!strcmp(ee->driver, "wayland_egl"))
      wdata->regen_objs = _evas_canvas_image_data_unset(ecore_evas_get(ee));