This patch just gets the state flags directly from the window rather
than calling "get" functions to return the same parameter.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
LOGFN(__FILE__, __LINE__, __FUNCTION__);
EINA_SAFETY_ON_NULL_RETURN(win);
- prev = ecore_wl_window_maximized_get(win);
+ prev = win->maximized;
maximized = !!maximized;
-
if (prev == maximized) return;
if (maximized)
EINA_SAFETY_ON_NULL_RETURN(win);
- prev = ecore_wl_window_fullscreen_get(win);
-
+ prev = win->fullscreen;
fullscreen = !!fullscreen;
-
if (prev == fullscreen) return;
+
if (fullscreen)
{
win->type = ECORE_WL_WINDOW_TYPE_FULLSCREEN;