summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2012-08-02 06:24:47 +0000
committerChristopher Michael <cpmichael1@comcast.net>2012-08-02 06:24:47 +0000
commitbaa604b7369c52e3b11d88d6b0167b8a1a71c0b6 (patch)
tree086004aa3f2ec3eed393a8b9cc2c6cdd7d483337 /legacy
parentd0b5d1e13eeb51a08eb47504a263020c6ee808c7 (diff)
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
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c2
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
index b429239bd0..b296bd26c6 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
@@ -725,7 +725,7 @@ _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full)
725{ 725{
726 LOGFN(__FILE__, __LINE__, __FUNCTION__); 726 LOGFN(__FILE__, __LINE__, __FUNCTION__);
727 727
728 if ((!ee) || (!ee->visible)) return; 728 if (!ee) return;
729 if (ee->prop.fullscreen == full) return; 729 if (ee->prop.fullscreen == full) return;
730 ee->prop.fullscreen = full; 730 ee->prop.fullscreen = full;
731 ecore_wl_window_fullscreen_set(ee->engine.wl.win, full); 731 ecore_wl_window_fullscreen_set(ee->engine.wl.win, full);
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
index b9c6d1818d..9d547d16b0 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
@@ -797,7 +797,7 @@ _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full)
797{ 797{
798 LOGFN(__FILE__, __LINE__, __FUNCTION__); 798 LOGFN(__FILE__, __LINE__, __FUNCTION__);
799 799
800 if ((!ee) || (!ee->visible)) return; 800 if (!ee) return;
801 if (ee->prop.fullscreen == full) return; 801 if (ee->prop.fullscreen == full) return;
802 ee->prop.fullscreen = full; 802 ee->prop.fullscreen = full;
803 ecore_wl_window_fullscreen_set(ee->engine.wl.win, full); 803 ecore_wl_window_fullscreen_set(ee->engine.wl.win, full);