summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
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