* Added function to hide all active menus
* Always hide menus on desklock
+ * e_win now traps elm_win_activate to ensure that internal elm
+ windows don't fail to raise as expected if user has configured
+ E to ignore activate hints
2012-12-29 Mike Blumenkrantz
* Fix border(less) style of internal elm tooltip windows
* Fix incorrect config value clamping for window autoraise delay
* Always hide menus on desklock
+ * e_win now traps elm_win_activate to ensure that internal elm
+ windows don't fail to raise as expected if user has configured
+ E to ignore activate hints
return EINA_FALSE;
}
+static Eina_Bool
+_elm_win_trap_activate(void *data, Evas_Object *o __UNUSED__)
+{
+ Elm_Win_Trap_Ctx *ctx = data;
+ EINA_SAFETY_ON_NULL_RETURN_VAL(ctx, EINA_TRUE);
+ if (!ctx->border) return EINA_TRUE;
+ e_border_focus_set(ctx->border, 1, 1);
+ e_border_raise(ctx->border);
+ return EINA_FALSE;
+}
+
static const Elm_Win_Trap _elm_win_trap = {
ELM_WIN_TRAP_VERSION,
_elm_win_trap_add,
_elm_win_trap_center,
_elm_win_trap_lower,
_elm_win_trap_raise,
- /* activate */ NULL,
+ _elm_win_trap_activate,
/* alpha_set */ NULL,
/* aspect_set */ NULL,
/* avoid_damage_set */ NULL,