summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2014-09-18 11:51:40 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2014-09-18 11:51:40 -0400
commitdf8453e9ee36148ae4ca85dddf9f87450ac07a5c (patch)
treebae28683254dac6c794d7a078f51981742e8658d
parentf572833e4392932950070c1b1ca63f08fdd55aa4 (diff)
force render queue on unmaximize if client was fullscreen maximized
-rw-r--r--src/maximize.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/maximize.c b/src/maximize.c
index 7b0314f..d73e5f8 100644
--- a/src/maximize.c
+++ b/src/maximize.c
@@ -2,6 +2,13 @@
2 2
3static Ecore_Event_Handler *eh = NULL; 3static Ecore_Event_Handler *eh = NULL;
4 4
5static Eina_Bool
6_ds_unmaximize_render(void *d EINA_UNUSED)
7{
8 e_comp_render_queue(e_comp_get(NULL));
9 return EINA_FALSE;
10}
11
5static void 12static void
6_ds_unmaximize_post(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) 13_ds_unmaximize_post(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
7{ 14{
@@ -21,6 +28,7 @@ _ds_unmaximize_post(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
21 evas_object_geometry_set(obj, rect->x, rect->y, rect->w, rect->h); 28 evas_object_geometry_set(obj, rect->x, rect->y, rect->w, rect->h);
22 free(rect); 29 free(rect);
23 efx_resize(ec->frame, EFX_EFFECT_SPEED_SINUSOIDAL, EFX_POINT(x, y), w, h, time, NULL, NULL); 30 efx_resize(ec->frame, EFX_EFFECT_SPEED_SINUSOIDAL, EFX_POINT(x, y), w, h, time, NULL, NULL);
31 ecore_timer_add(0.1, _ds_unmaximize_render, NULL);
24} 32}
25 33
26static void 34static void