From 6f30eb26b821b2ca8bdb7105fb5220e4c60f1338 Mon Sep 17 00:00:00 2001 From: MinJeong Kim Date: Wed, 20 Apr 2016 22:12:13 +0900 Subject: [PATCH] ecore-wl: fix maximized value getter Change-Id: I3a3cf53048bc80543ef9a9fb1508c52a775a7ce8 --- src/lib/ecore_wayland/ecore_wl_window.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index 450c10e1..ea2a280 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c @@ -722,10 +722,7 @@ ecore_wl_window_maximized_get(Ecore_Wl_Window *win) if (!win) return EINA_FALSE; - if (win->type == ECORE_WL_WINDOW_TYPE_MAXIMIZED) - return EINA_TRUE; - - return EINA_FALSE; + return (win->maximized) || (win->type == ECORE_WL_WINDOW_TYPE_MAXIMIZED); } EAPI void -- 2.7.4