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)
{
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
};