summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_win.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index a69a5f8ce..0056bd747 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1255,9 +1255,25 @@ _elm_win_state_change(Ecore_Evas *ee)
1255 if (ch_fullscreen) 1255 if (ch_fullscreen)
1256 { 1256 {
1257 if (sd->fullscreen) 1257 if (sd->fullscreen)
1258 evas_object_smart_callback_call(obj, SIG_FULLSCREEN, NULL); 1258 {
1259 int w, h;
1260
1261 evas_object_smart_callback_call(obj, SIG_FULLSCREEN, NULL);
1262 if (sd->frame_obj)
1263 evas_object_hide(sd->frame_obj);
1264 evas_output_framespace_set(sd->evas, 0, 0, 0, 0);
1265 ecore_evas_geometry_get(sd->ee, NULL, NULL, &w, &h);
1266 ecore_evas_resize(sd->ee, w, h);
1267 }
1259 else 1268 else
1260 evas_object_smart_callback_call(obj, SIG_UNFULLSCREEN, NULL); 1269 {
1270 evas_object_smart_callback_call(obj, SIG_UNFULLSCREEN, NULL);
1271 if (sd->frame_obj)
1272 {
1273 evas_object_show(sd->frame_obj);
1274 _elm_win_frame_obj_update(sd);
1275 }
1276 }
1261 } 1277 }
1262 if (ch_maximized) 1278 if (ch_maximized)
1263 { 1279 {