diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 77f2e6b91..df582e458 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -778,6 +778,12 @@ _e_client_move_begin(E_Client *ec) if (!_e_client_action_input_win_new()) return 0; ec->moving = 1; ecmove = ec; + if (!ec->lock_user_stacking) + { + if (e_config->border_raise_on_mouse_action) + evas_object_raise(ec->frame); + } + _e_client_hook_call(E_CLIENT_HOOK_MOVE_BEGIN, ec); if (!ec->moving) { @@ -785,11 +791,6 @@ _e_client_move_begin(E_Client *ec) _e_client_action_input_win_del(); return 0; } - if (!ec->lock_user_stacking) - { - if (e_config->border_raise_on_mouse_action) - evas_object_raise(ec->frame); - } return 1; } @@ -4776,6 +4777,11 @@ e_client_resize_begin(E_Client *ec) (ec->fullscreen) || (ec->lock_user_size)) goto error; if (!_e_client_action_input_win_new()) goto error; + if (!ec->lock_user_stacking) + { + if (e_config->border_raise_on_mouse_action) + evas_object_raise(ec->frame); + } ecresize = ec; _e_client_hook_call(E_CLIENT_HOOK_RESIZE_BEGIN, ec); if (!e_client_util_resizing_get(ec)) @@ -4784,11 +4790,6 @@ e_client_resize_begin(E_Client *ec) _e_client_action_input_win_del(); return EINA_FALSE; } - if (!ec->lock_user_stacking) - { - if (e_config->border_raise_on_mouse_action) - evas_object_raise(ec->frame); - } return EINA_TRUE; error: ec->resize_mode = E_POINTER_RESIZE_NONE;