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>
This commit is contained in:
parent
85b04c188a
commit
eacd4cc6f6
|
@ -490,10 +490,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
|
||||
|
|
Loading…
Reference in New Issue