discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f298183d4e9ba38c06793b3079f4965eaba8fb63

commit f298183d4e9ba38c06793b3079f4965eaba8fb63
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Feb 26 22:30:44 2015 -0500

    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
---
 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 febb135..87da43d 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -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 

-- 


Reply via email to