allow to change layer when locking border position

SVN revision: 57609
This commit is contained in:
Miculcy Brian 2011-03-09 00:05:03 +00:00
parent d11a154acf
commit c695554642
2 changed files with 1 additions and 3 deletions

View File

@ -106,8 +106,7 @@ ACT_FN_GO_MOUSE(window_move, __UNUSED__)
if (!obj) obj = E_OBJECT(e_border_focused_get());
if (!obj) return;
if (obj->type != E_BORDER_TYPE) return;
if (!((E_Border *)obj)->lock_user_location)
e_border_act_move_begin((E_Border *)obj, ev);
e_border_act_move_begin((E_Border *)obj, ev);
}
ACT_FN_GO_SIGNAL(window_move, )

View File

@ -3418,7 +3418,6 @@ e_border_act_move_begin(E_Border *bd,
{
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
if (bd->lock_user_location) return;
if ((bd->resize_mode != RESIZE_NONE) || (bd->moving)) return;
if (!_e_border_move_begin(bd))
return;