ecore-wl fullscreen state is based on either window type or attribute
fixes fullscreen state detection when being set to fullscreen by the compositor @fix
This commit is contained in:
parent
a57df757a8
commit
f298183d4e
|
@ -558,10 +558,7 @@ ecore_wl_window_fullscreen_get(Ecore_Wl_Window *win)
|
|||
|
||||
if (!win) return EINA_FALSE;
|
||||
|
||||
if (win->type == ECORE_WL_WINDOW_TYPE_FULLSCREEN)
|
||||
return EINA_TRUE;
|
||||
|
||||
return EINA_FALSE;
|
||||
return win->fullscreen || (win->type == ECORE_WL_WINDOW_TYPE_FULLSCREEN);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue