e_policy_desk_area: deal with subsurfaces only when ec has wayland surface. 40/323940/2
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 9 May 2025 07:48:30 +0000 (16:48 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 9 May 2025 09:38:14 +0000 (09:38 +0000)
The internal ec and external content ec do not deal with subsurfaces

Change-Id: Ifdc231451d8e1f88d16d1e47d5131be76d5197e9

src/bin/windowmgr/e_policy_desk_area.c

index e8ee70bbf813ca96d6e1a3ab2b54fe562f977f51..916054c0b843077f94c4f20452e28f5f804a8da7 100644 (file)
@@ -1089,8 +1089,12 @@ _desk_area_cb_client_iconify(struct wl_listener *listener, void *data)
           }
      }
 
-   // deal with subsurfaces
-   e_comp_wl_subsurface_hide(ec);
+   // The internal ec and external content ec do not deal with subsurfaces
+   if (e_pixmap_type_get(ec->pixmap) == E_PIXMAP_TYPE_WL)
+     {
+        // deal with subsurfaces
+        e_comp_wl_subsurface_hide(ec);
+     }
 }
 
 static void