diff options
author | Chris Michael <cp.michael@samsung.com> | 2014-08-13 09:01:50 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2014-08-13 09:41:27 -0400 |
commit | e14f40a46d5009ff3a6771a20d1b6fac66470cd5 (patch) | |
tree | 0dcb807cac63ab47a326faf161759e84f9a4ab0b | |
parent | a49835a8d165fa5844a902eec035c63036369632 (diff) | |
download | efl-e14f40a46d5009ff3a6771a20d1b6fac66470cd5.tar.gz |
ecore-wayland: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/lib/ecore_wayland/ecore_wl_window.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index 3fb5f87830..64df3f77a2 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c @@ -16,7 +16,6 @@ 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); static void _ecore_xdg_handle_popup_done(void *data, struct xdg_popup *xdg_popup, unsigned int serial); - /* local variables */ static Eina_Hash *_windows = NULL; @@ -34,11 +33,13 @@ static const struct wl_shell_surface_listener _ecore_wl_shell_surface_listener = _ecore_wl_window_cb_popup_done }; -static const struct xdg_surface_listener _ecore_xdg_surface_listener = { +static const struct xdg_surface_listener _ecore_xdg_surface_listener = +{ _ecore_xdg_handle_surface_configure, }; -static const struct xdg_popup_listener _ecore_xdg_popup_listener = { +static const struct xdg_popup_listener _ecore_xdg_popup_listener = +{ _ecore_xdg_handle_popup_done, }; @@ -794,9 +795,7 @@ _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface if ((w <= 0) || (h <= 0)) return; if ((win->allocation.w != w) || (win->allocation.h != h)) - { - _ecore_wl_window_configure_send(win, w, h, edges); - } + _ecore_wl_window_configure_send(win, w, h, edges); } static void @@ -834,9 +833,7 @@ _ecore_xdg_handle_surface_configure(void *data, struct xdg_surface *xdg_surface, } } if ((width > 0) && (height > 0)) - { - _ecore_wl_window_configure_send(win, width, height, 0); - } + _ecore_wl_window_configure_send(win, width, height, 0); else { if ((win->saved.w != 1) || (win->saved.h != 1)) |