forked from enlightenment/efl
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:
parent
f174e739e1
commit
914a85159b
|
@ -326,12 +326,6 @@ _cb_global_add(void *data, struct wl_registry *registry, unsigned int id, const
|
||||||
EINA_INLIST_FOREACH(ewd->windows, window)
|
EINA_INLIST_FOREACH(ewd->windows, window)
|
||||||
if (window->surface) efl_aux_hints_get_supported_aux_hints(ewd->wl.efl_aux_hints, window->surface);
|
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"))
|
else if (!strcmp(interface, "wl_output"))
|
||||||
_ecore_wl2_output_add(ewd, id);
|
_ecore_wl2_output_add(ewd, id);
|
||||||
else if (!strcmp(interface, "wl_seat"))
|
else if (!strcmp(interface, "wl_seat"))
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
# include <xkbcommon/xkbcommon-compose.h>
|
# include <xkbcommon/xkbcommon-compose.h>
|
||||||
# include "ecore_wl2_internal.h"
|
# include "ecore_wl2_internal.h"
|
||||||
|
|
||||||
# define EFL_TEAMWORK_VERSION 2
|
|
||||||
# include "teamwork-client-protocol.h"
|
|
||||||
|
|
||||||
# include "session-recovery-client-protocol.h"
|
# include "session-recovery-client-protocol.h"
|
||||||
|
|
||||||
# include "xdg-shell-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 xdg_wm_base *xdg_wm_base;
|
||||||
struct zwp_e_session_recovery *session_recovery;
|
struct zwp_e_session_recovery *session_recovery;
|
||||||
struct efl_aux_hints *efl_aux_hints;
|
struct efl_aux_hints *efl_aux_hints;
|
||||||
struct zwp_teamwork *teamwork;
|
|
||||||
struct efl_hints *efl_hints;
|
struct efl_hints *efl_hints;
|
||||||
int compositor_version;
|
int compositor_version;
|
||||||
} wl;
|
} wl;
|
||||||
|
|
|
@ -7,8 +7,7 @@ wayland_client = dependency('wayland-client')
|
||||||
wl_protocol_local = [
|
wl_protocol_local = [
|
||||||
'efl-aux-hints.xml',
|
'efl-aux-hints.xml',
|
||||||
'efl-hints.xml',
|
'efl-hints.xml',
|
||||||
'session-recovery.xml',
|
'session-recovery.xml'
|
||||||
'teamwork.xml'
|
|
||||||
]
|
]
|
||||||
|
|
||||||
wl_unstable_protocol_sys = [
|
wl_unstable_protocol_sys = [
|
||||||
|
|
|
@ -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>
|
|
Loading…
Reference in New Issue