ecore_wl2_window: do not unmap subsurface in hide
authorShinwoo Kim <cinoo.kim@samsung.com>
Tue, 26 May 2020 15:49:07 +0000 (11:49 -0400)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 26 May 2020 22:23:34 +0000 (07:23 +0900)
Summary:
If window_hide should unmap subsurface, then window_show should re-map
the unmapeed subsurface. I have no idea why window_hide unmap all subsurfs.

Reviewers: zmike, devilhorns

Reviewed By: zmike, devilhorns

Subscribers: devilhorns, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11869

src/lib/ecore_wl2/ecore_wl2_window.c

index 50956c4..cd5d075 100644 (file)
@@ -1193,9 +1193,6 @@ ecore_wl2_window_hide(Ecore_Wl2_Window *window)
    window->tz_resource = NULL;
    //
 
-   EINA_INLIST_FOREACH_SAFE(window->subsurfs, tmp, subsurf)
-     _ecore_wl2_subsurf_unmap(subsurf);
-
    if (window->commit_pending)
      {
         /* We've probably been hidden while an animator