aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-09 08:55:26 -0400
committerChris Michael <cp.michael@samsung.com>2015-10-09 08:55:26 -0400
commit2a2a7e54b9e6e7a8be29ea95255b8ba960cd4b85 (patch)
tree42baaec770728cee4a5a9e19b978d861b93e81eb /src/lib/ecore_wayland
parentecore-wayland: Comment out unused functions for session listener (diff)
downloadefl-2a2a7e54b9e6e7a8be29ea95255b8ba960cd4b85.tar.gz
ecore-wayland: Comment out unused functions
Summary: As we do not listen for surface enter/leave events, we do not need these functions so comment them out. Thanks to Tom for the report :) @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 1c97b458ca..d934e633e9 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -10,8 +10,6 @@
static void _ecore_wl_window_cb_ping(void *data EINA_UNUSED, struct wl_shell_surface *shell_surface, unsigned int serial);
static void _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED, unsigned int edges, int w, int h);
static void _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED);
-static void _ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
-static void _ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
static void _ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h, int edges);
static char *_ecore_wl_window_id_str_get(unsigned int win_id);
static void _ecore_xdg_handle_surface_configure(void *data, struct xdg_surface *xdg_surface, int32_t width, int32_t height,struct wl_array *states, uint32_t serial);
@@ -23,12 +21,6 @@ static void _ecore_session_recovery_uuid(void *data, struct session_recovery *se
static Eina_Hash *_windows = NULL;
/* wayland listeners */
-static const struct wl_surface_listener _ecore_wl_surface_listener =
-{
- _ecore_wl_window_cb_surface_enter,
- _ecore_wl_window_cb_surface_leave
-};
-
static const struct wl_shell_surface_listener _ecore_wl_shell_surface_listener =
{
_ecore_wl_window_cb_ping,
@@ -1081,28 +1073,6 @@ _ecore_session_recovery_uuid(void *data EINA_UNUSED, struct session_recovery *se
}
static void
-_ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
-{
- Ecore_Wl_Window *win;
-
- LOGFN(__FILE__, __LINE__, __FUNCTION__);
-
- if (!surface) return;
- if (!(win = data)) return;
-}
-
-static void
-_ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
-{
- Ecore_Wl_Window *win;
-
- LOGFN(__FILE__, __LINE__, __FUNCTION__);
-
- if (!surface) return;
- if (!(win = data)) return;
-}
-
-static void
_ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h, int edges)
{
Ecore_Wl_Event_Window_Configure *ev;