forked from enlightenment/efl
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:
parent
d0b5d1e13e
commit
baa604b736
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue