Ecore_Evas (wayland): Patch from Robert Bradford to fix a small bug in

the ecore_evas fullscreen code.

Previously, fullscreening was only done if the ecore_evas was visible.
This patch allows to specify an ecore_evas be fullscreen before it is
displayed.



SVN revision: 74774
This commit is contained in:
Christopher Michael 2012-08-02 06:24:47 +00:00
parent d0b5d1e13e
commit baa604b736
2 changed files with 2 additions and 2 deletions

View File

@ -725,7 +725,7 @@ _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if ((!ee) || (!ee->visible)) return;
if (!ee) return;
if (ee->prop.fullscreen == full) return;
ee->prop.fullscreen = full;
ecore_wl_window_fullscreen_set(ee->engine.wl.win, full);

View File

@ -797,7 +797,7 @@ _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if ((!ee) || (!ee->visible)) return;
if (!ee) return;
if (ee->prop.fullscreen == full) return;
ee->prop.fullscreen = full;
ecore_wl_window_fullscreen_set(ee->engine.wl.win, full);