e_policy_wl: support desktop type window 49/280349/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Sun, 28 Aug 2022 23:11:18 +0000 (08:11 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 29 Aug 2022 02:17:53 +0000 (11:17 +0900)
Change-Id: Ib77bfd12ba4268a7f102779ec0fba8597694e437

src/bin/e_policy_wl.c

index 236a739..41d15ef 100644 (file)
@@ -1799,6 +1799,14 @@ _tzpol_iface_cb_type_set(struct wl_client *client EINA_UNUSED, struct wl_resourc
          win_type = E_WINDOW_TYPE_DIALOG;
          break;
 
+      case TIZEN_POLICY_WIN_TYPE_DESKTOP:
+         win_type = E_WINDOW_TYPE_DESKTOP;
+         if (ec->layer != E_LAYER_CLIENT_DESKTOP)
+           {
+              e_client_layer_set(ec, E_LAYER_CLIENT_DESKTOP);
+           }
+         break;
+
       default: return;
      }