aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-03-03 14:59:33 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-03-03 15:00:04 -0500
commit3df05663bd59e941f79ae578e4c9c7b1b76fad3c (patch)
tree846610642e716dafcc4a2c1d00e0e87650aa8821 /legacy/elementary/src/lib/elm_win.c
parentelm_win trivial function move (diff)
downloadefl-3df05663bd59e941f79ae578e4c9c7b1b76fad3c.tar.gz
elm_win framespace toggling on fullscreen change: activate!
@fix
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index a69a5f8ce3..0056bd747e 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/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)
{