discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=91f49207576a105132821991bcc138c7d85c6dfb

commit 91f49207576a105132821991bcc138c7d85c6dfb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Mar 3 14:59:33 2015 -0500

    elm_win framespace toggling on fullscreen change: activate!
    
    @fix
---
 src/lib/elm_win.c | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index a69a5f8..0056bd7 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1255,9 +1255,25 @@ _elm_win_state_change(Ecore_Evas *ee)
    if (ch_fullscreen)
      {
         if (sd->fullscreen)
-          evas_object_smart_callback_call(obj, SIG_FULLSCREEN, NULL);
+          {
+             int w, h;
+
+             evas_object_smart_callback_call(obj, SIG_FULLSCREEN, NULL);
+             if (sd->frame_obj)
+               evas_object_hide(sd->frame_obj);
+             evas_output_framespace_set(sd->evas, 0, 0, 0, 0);
+             ecore_evas_geometry_get(sd->ee, NULL, NULL, &w, &h);
+             ecore_evas_resize(sd->ee, w, h);
+          }
         else
-          evas_object_smart_callback_call(obj, SIG_UNFULLSCREEN, NULL);
+          {
+             evas_object_smart_callback_call(obj, SIG_UNFULLSCREEN, NULL);
+             if (sd->frame_obj)
+               {
+                  evas_object_show(sd->frame_obj);
+                  _elm_win_frame_obj_update(sd);
+               }
+          }
      }
    if (ch_maximized)
      {

-- 


Reply via email to