diff options
author | Emre Ucan <eucan@de.adit-jv.com> | 2015-11-27 12:51:41 +0100 |
---|---|---|
committer | Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp> | 2015-12-01 11:52:06 +0900 |
commit | e2bb1ad6c296aac5a397e3a8e814bca78d3013df (patch) | |
tree | d725ec2554bf40daf1ba67840e8d09d2f598f994 | |
parent | 27b66054ace448776d9d52172d2d853ada85a5d7 (diff) | |
download | wayland-ivi-extension-e2bb1ad6c296aac5a397e3a8e814bca78d3013df.tar.gz |
EGLWLInputEventExample: remove WaylandServerinfoProtocol implementation
WaylandServerinfoProtocol is used for old LayerManager component.
It is not required to use with weston-ivi-shell.
Therefore, I removed the implementation.
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
-rw-r--r-- | ivi-layermanagement-examples/EGLWLInputEventExample/src/WLContext.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ivi-layermanagement-examples/EGLWLInputEventExample/src/WLContext.cpp b/ivi-layermanagement-examples/EGLWLInputEventExample/src/WLContext.cpp index 4786443..32dbe88 100644 --- a/ivi-layermanagement-examples/EGLWLInputEventExample/src/WLContext.cpp +++ b/ivi-layermanagement-examples/EGLWLInputEventExample/src/WLContext.cpp @@ -22,7 +22,6 @@ #include <string.h> #include <assert.h> #include "WLContext.h" -#include "WaylandServerinfoClientProtocol.h" #define WL_UNUSED(A) (A)=(A) @@ -33,10 +32,6 @@ static struct wl_registry_listener registryListener = { NULL }; -static struct serverinfo_listener serverInfoListenerList = { - WLContext::ServerInfoListener, -}; - static struct wl_seat_listener seatListener = { WLContext::SeatHandleCapabilities, NULL @@ -85,15 +80,6 @@ WLContext::RegistryHandleGlobal(void* data, break; } - if (!strcmp(interface, "serverinfo")){ - struct serverinfo* wlServerInfo = (struct serverinfo*)wl_registry_bind( - registry, name, &serverinfo_interface, 1); - serverinfo_add_listener(wlServerInfo, &serverInfoListenerList, data); - serverinfo_get_connection_id(wlServerInfo); - surface->SetWLServerInfo(wlServerInfo); - break; - } - if (!strcmp(interface, "wl_seat")){ struct WLContext::seat_data *seat_data = (struct WLContext::seat_data *)calloc(1, sizeof *seat_data); seat_data->ctx = surface; @@ -106,19 +92,6 @@ WLContext::RegistryHandleGlobal(void* data, } void -WLContext::ServerInfoListener(void* data, - struct serverinfo* serverInfo, - uint32_t clientHandle) -{ - WL_UNUSED(serverInfo); - - WLContext* surface = static_cast<WLContext*>(data); - assert(surface); - - surface->SetConnectionId(clientHandle); -} - -void WLContext::SeatHandleCapabilities(void* data, struct wl_seat* seat, uint32_t caps) { struct WLContext::seat_data* context = |