ecore_wl2: Remove legacy teamwork stuff

This patch removes the remainder of the Teamwork protocol &
implementation. The module has been removed from Enlightenment for
some time now so there is no need to generate a protocol or have any
legacy code remaining..
This commit is contained in:
Christopher Michael 2021-03-01 11:22:58 -05:00
parent f174e739e1
commit 914a85159b
4 changed files with 1 additions and 51 deletions

View File

@ -326,12 +326,6 @@ _cb_global_add(void *data, struct wl_registry *registry, unsigned int id, const
EINA_INLIST_FOREACH(ewd->windows, window)
if (window->surface) efl_aux_hints_get_supported_aux_hints(ewd->wl.efl_aux_hints, window->surface);
}
else if (!strcmp(interface, "zwp_teamwork"))
{
ewd->wl.teamwork =
wl_registry_bind(registry, id,
&zwp_teamwork_interface, EFL_TEAMWORK_VERSION);
}
else if (!strcmp(interface, "wl_output"))
_ecore_wl2_output_add(ewd, id);
else if (!strcmp(interface, "wl_seat"))

View File

@ -7,9 +7,6 @@
# include <xkbcommon/xkbcommon-compose.h>
# include "ecore_wl2_internal.h"
# define EFL_TEAMWORK_VERSION 2
# include "teamwork-client-protocol.h"
# include "session-recovery-client-protocol.h"
# include "xdg-shell-client-protocol.h"
@ -92,7 +89,6 @@ struct _Ecore_Wl2_Display
struct xdg_wm_base *xdg_wm_base;
struct zwp_e_session_recovery *session_recovery;
struct efl_aux_hints *efl_aux_hints;
struct zwp_teamwork *teamwork;
struct efl_hints *efl_hints;
int compositor_version;
} wl;

View File

@ -7,8 +7,7 @@ wayland_client = dependency('wayland-client')
wl_protocol_local = [
'efl-aux-hints.xml',
'efl-hints.xml',
'session-recovery.xml',
'teamwork.xml'
'session-recovery.xml'
]
wl_unstable_protocol_sys = [

View File

@ -1,39 +0,0 @@
<protocol name="teamwork">
<interface name="zwp_teamwork" version="2">
<request name="preload_uri">
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="uri" type="string"/>
</request>
<request name="activate_uri">
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="uri" type="string"/>
<arg name="x" type="fixed" summary="surface local coords"/>
<arg name="y" type="fixed" summary="surface local coords"/>
</request>
<request name="deactivate_uri">
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="uri" type="string"/>
</request>
<request name="open_uri">
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="uri" type="string"/>
</request>
<event name="fetching_uri">
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="uri" type="string"/>
</event>
<event name="completed_uri">
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="uri" type="string"/>
<arg name="valid" type="int" summary="1 if uri can be displayed, else 0"/>
</event>
<event name="fetch_info">
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="uri" type="string"/>
<arg name="progress" type="uint" summary="percentage of download"/>
</event>
</interface>
</protocol>