From c82393c2a490e201fc2f66228d4368a3df3f08c2 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 2 Dec 2015 13:41:17 -0500 Subject: [PATCH] enable pip edit mode when creating a pip this is the normal use case so do it automatically --- src/pip.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pip.c b/src/pip.c index 09fdc1a..793c81d 100644 --- a/src/pip.c +++ b/src/pip.c @@ -381,6 +381,14 @@ _pip_create(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED) efx_fade(o, EFX_EFFECT_SPEED_LINEAR, EFX_COLOR(255, 255, 255), 255, 0.2, _pip_fade_end, NULL); eina_hash_add(pips, &ec->frame, pip); + if (editing) + { + evas_object_layer_set(pip->pip, E_LAYER_MENU + 1); + evas_object_pass_events_set(pip->pip, 0); + e_comp_shape_queue(); + } + else + pips_edit(); } static void