summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-11-14 12:45:33 +0000
committerChris Michael <cp.michael@samsung.com>2013-11-14 12:45:33 +0000
commita55a8ed3fb50f9ecb4d2eaaa0837f293ea397826 (patch)
tree2c2d21a15e62976521d355d3d35a790a8fa4bfbb
parente8aa7087eb9c9684508cb6e9bd50ec08b6950d3c (diff)
Fix some formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 172cafe43..d4fac80b8 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1078,7 +1078,7 @@ _ecore_evas_wl_common_border_update(Ecore_Evas *ee)
if (!wdata->frame)
return;
- if (ee->prop.borderless || ee->prop.fullscreen)
+ if ((ee->prop.borderless) || (ee->prop.fullscreen))
{
evas_object_hide(wdata->frame);
evas_output_framespace_set(ee->evas, 0, 0, 0, 0);
@@ -1115,8 +1115,8 @@ _ecore_evas_wl_common_maximized_set(Ecore_Evas *ee, int max)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ee) return;
- wdata = ee->engine.data;
if (ee->prop.maximized == max) return;
+ wdata = ee->engine.data;
ecore_wl_window_maximized_set(wdata->win, max);
_ecore_evas_wl_common_state_update(ee);
}
@@ -1228,8 +1228,8 @@ _ecore_evas_wl_frame_complete(void *data, struct wl_callback *callback, uint32_t
if (ecore_wl_window_surface_get(win))
{
- wdata->frame_callback = wl_surface_frame
- (ecore_wl_window_surface_get(win));
+ wdata->frame_callback =
+ wl_surface_frame(ecore_wl_window_surface_get(win));
wl_callback_add_listener(wdata->frame_callback, &frame_listener, ee);
}
}
@@ -1273,8 +1273,8 @@ _ecore_evas_wl_common_render(Ecore_Evas *ee)
if (!wdata->frame_callback)
{
- wdata->frame_callback = wl_surface_frame
- (ecore_wl_window_surface_get(win));
+ wdata->frame_callback =
+ wl_surface_frame(ecore_wl_window_surface_get(win));
wl_callback_add_listener(wdata->frame_callback,
&frame_listener, ee);
}