summaryrefslogtreecommitdiff
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
parentff9703efc3f437144a59c92e8e275a53847559e2 (diff)
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 @@
10static void _ecore_wl_window_cb_ping(void *data EINA_UNUSED, struct wl_shell_surface *shell_surface, unsigned int serial); 10static void _ecore_wl_window_cb_ping(void *data EINA_UNUSED, struct wl_shell_surface *shell_surface, unsigned int serial);
11static void _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED, unsigned int edges, int w, int h); 11static void _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED, unsigned int edges, int w, int h);
12static void _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED); 12static void _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED);
13static void _ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
14static void _ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
15static void _ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h, int edges); 13static void _ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h, int edges);
16static char *_ecore_wl_window_id_str_get(unsigned int win_id); 14static char *_ecore_wl_window_id_str_get(unsigned int win_id);
17static 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); 15static 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
23static Eina_Hash *_windows = NULL; 21static Eina_Hash *_windows = NULL;
24 22
25/* wayland listeners */ 23/* wayland listeners */
26static const struct wl_surface_listener _ecore_wl_surface_listener =
27{
28 _ecore_wl_window_cb_surface_enter,
29 _ecore_wl_window_cb_surface_leave
30};
31
32static const struct wl_shell_surface_listener _ecore_wl_shell_surface_listener = 24static const struct wl_shell_surface_listener _ecore_wl_shell_surface_listener =
33{ 25{
34 _ecore_wl_window_cb_ping, 26 _ecore_wl_window_cb_ping,
@@ -1081,28 +1073,6 @@ _ecore_session_recovery_uuid(void *data EINA_UNUSED, struct session_recovery *se
1081} 1073}
1082 1074
1083static void 1075static void
1084_ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
1085{
1086 Ecore_Wl_Window *win;
1087
1088 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1089
1090 if (!surface) return;
1091 if (!(win = data)) return;
1092}
1093
1094static void
1095_ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
1096{
1097 Ecore_Wl_Window *win;
1098
1099 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1100
1101 if (!surface) return;
1102 if (!(win = data)) return;
1103}
1104
1105static void
1106_ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h, int edges) 1076_ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h, int edges)
1107{ 1077{
1108 Ecore_Wl_Event_Window_Configure *ev; 1078 Ecore_Wl_Event_Window_Configure *ev;