summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-17 18:23:07 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-17 18:23:07 -0500
commit3b480804fc1a73edac6a7239ad329c9942ae2627 (patch)
tree787e25fc1071d3c5caf18573fc12f4e70e7ca39d /src/lib/ecore_wayland
parent3b139fe0f10a04e022abd981ea88684d0aae0fd4 (diff)
ecore-wayland: return only the relevant state value for maximize/fullscreen
having window types for fullscreen/maximize is not defined by spec and leads to state mismatches when toggling from api vs receiving events from the compositor @fix
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index a261d78e0e..47f41725c0 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -490,7 +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 return win->maximized || (win->type == ECORE_WL_WINDOW_TYPE_MAXIMIZED); 493 return win->maximized;
494} 494}
495 495
496EAPI void 496EAPI void
@@ -531,7 +531,7 @@ ecore_wl_window_fullscreen_get(Ecore_Wl_Window *win)
531 531
532 if (!win) return EINA_FALSE; 532 if (!win) return EINA_FALSE;
533 533
534 return win->fullscreen || (win->type == ECORE_WL_WINDOW_TYPE_FULLSCREEN); 534 return win->fullscreen;
535} 535}
536 536
537EAPI void 537EAPI void