summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-12-10 14:20:16 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-12-10 14:20:16 -0500
commit800c3ee81033985c8a0b409fe50e4e024b913db1 (patch)
tree4a8938b898dea8ab0d1a14854d2162a63d346103
parentdbe7bb7bd32c635b60ad3acd64b93419d368e8a0 (diff)
win: run wayland region updating during RENDER_FLUSH_PRE
regions have not yet been calculated during RENDER_PRE, and commit happens during the outbuf flush, so this callback should be the latest possible time at which window geometry can be sent
-rw-r--r--src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index b9fb0cf29..c9729ce06 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -3044,7 +3044,7 @@ _elm_win_frame_add(Elm_Win_Data *sd,
3044 evas_object_event_callback_add 3044 evas_object_event_callback_add
3045 (sd->frame_obj, EVAS_CALLBACK_RESIZE, _elm_win_frame_obj_resize, sd); 3045 (sd->frame_obj, EVAS_CALLBACK_RESIZE, _elm_win_frame_obj_resize, sd);
3046#ifdef HAVE_ELEMENTARY_WL2 3046#ifdef HAVE_ELEMENTARY_WL2
3047 evas_event_callback_add(sd->evas, EVAS_CALLBACK_RENDER_PRE, _elm_win_frame_pre_render, sd); 3047 evas_event_callback_add(sd->evas, EVAS_CALLBACK_RENDER_FLUSH_PRE, _elm_win_frame_pre_render, sd);
3048#endif 3048#endif
3049 3049
3050 /* NB: Do NOT remove these calls !! Needed to calculate proper 3050 /* NB: Do NOT remove these calls !! Needed to calculate proper
@@ -3102,7 +3102,7 @@ _elm_win_frame_del(Elm_Win_Data *sd)
3102 evas_object_event_callback_del_full 3102 evas_object_event_callback_del_full
3103 (sd->frame_obj, EVAS_CALLBACK_RESIZE, _elm_win_frame_obj_resize, sd); 3103 (sd->frame_obj, EVAS_CALLBACK_RESIZE, _elm_win_frame_obj_resize, sd);
3104#ifdef HAVE_ELEMENTARY_WL2 3104#ifdef HAVE_ELEMENTARY_WL2
3105 evas_event_callback_del_full(sd->evas, EVAS_CALLBACK_RENDER_PRE, _elm_win_frame_pre_render, sd); 3105 evas_event_callback_del_full(sd->evas, EVAS_CALLBACK_RENDER_FLUSH_PRE, _elm_win_frame_pre_render, sd);
3106#endif 3106#endif
3107 3107
3108 edje_object_signal_callback_del 3108 edje_object_signal_callback_del