e_eom: erase xdg_window interface 98/179298/1 accepted/tizen/unified/20180517.151244 submit/tizen/20180517.044413
authorJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 17 May 2018 04:30:56 +0000 (13:30 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 17 May 2018 04:31:00 +0000 (13:31 +0900)
Change-Id: I1fcfc275b55a9e1f35315d807a221d2c4bbb09a4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_eom.c

index 75ea77ea0d7cc99888f97a6a86d257170298e01f..886220261fdbce4a5b5ff318e1bbfdbcab1d8af6 100644 (file)
@@ -2027,25 +2027,6 @@ _e_eom_window_set_internal(struct wl_resource *resource, int output_id, E_Client
    wl_eom_send_output_set_window(resource, output_id, WL_EOM_ERROR_NONE);
 }
 
-static void
-_e_eom_cb_wl_request_set_xdg_window(struct wl_client *client, struct wl_resource *resource, uint32_t output_id, struct wl_resource *surface)
-{
-   E_Client *ec = NULL;
-
-   if (resource == NULL || output_id <= 0 || surface == NULL)
-     return;
-
-   EOMDB("set xdg output id:%d resource:%p surface:%p", output_id, resource, surface);
-
-   if (!(ec = wl_resource_get_user_data(surface)))
-     {
-        wl_resource_post_error(surface, WL_DISPLAY_ERROR_INVALID_OBJECT, "No Client For Shell Surface");
-        return;
-     }
-
-   _e_eom_window_set_internal(resource, output_id, ec);
-}
-
 static void
 _e_eom_cb_wl_request_set_shell_window(struct wl_client *client, struct wl_resource *resource, uint32_t output_id, struct wl_resource *surface)
 {
@@ -2110,7 +2091,6 @@ _e_eom_cb_wl_request_get_output_info(struct wl_client *client, struct wl_resourc
 static const struct wl_eom_interface _e_eom_wl_implementation =
 {
    _e_eom_cb_wl_request_set_attribute,
-   _e_eom_cb_wl_request_set_xdg_window,
    _e_eom_cb_wl_request_set_shell_window,
    _e_eom_cb_wl_request_get_output_info
 };