summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-11-17 15:57:45 -0500
committerChris Michael <cp.michael@samsung.com>2015-11-17 15:57:45 -0500
commiteacd4cc6f674dde0f43f9eb4a14be8a40980e285 (patch)
tree9b37db66206f2a358441674a62d3277ea5381734 /src/lib/ecore_wayland
parent85b04c188a7375ae77d3806d4c13468d480d2449 (diff)
ecore-wayland: Make ecore_wl_window_maximized_get return proper values
This brings ecore_wl_window_maximized_get more inline with ecore_wl_fullscreen_get function in that it will now check either the window maximized state, or the window type, to determine if a window is actually maximized @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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 9751fa25f3..a261d78e0e 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -490,10 +490,7 @@ ecore_wl_window_maximized_get(Ecore_Wl_Window *win)
490 490
491 if (!win) return EINA_FALSE; 491 if (!win) return EINA_FALSE;
492 492
493 if (win->type == ECORE_WL_WINDOW_TYPE_MAXIMIZED) 493 return win->maximized || (win->type == ECORE_WL_WINDOW_TYPE_MAXIMIZED);
494 return EINA_TRUE;
495
496 return EINA_FALSE;
497} 494}
498 495
499EAPI void 496EAPI void