summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-02-26 22:30:44 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-02-26 22:30:44 -0500
commitf298183d4e9ba38c06793b3079f4965eaba8fb63 (patch)
treeea7d046a2c890d3987e9eff441b46ada3182e962 /src/lib/ecore_wayland
parenta57df757a8031bb92b35edca602f7e1c212059ca (diff)
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
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 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)
558 558
559 if (!win) return EINA_FALSE; 559 if (!win) return EINA_FALSE;
560 560
561 if (win->type == ECORE_WL_WINDOW_TYPE_FULLSCREEN) 561 return win->fullscreen || (win->type == ECORE_WL_WINDOW_TYPE_FULLSCREEN);
562 return EINA_TRUE;
563
564 return EINA_FALSE;
565} 562}
566 563
567EAPI void 564EAPI void