forked from enlightenment/enlightenment
allow to change layer when locking border position
SVN revision: 57609
This commit is contained in:
parent
d11a154acf
commit
c695554642
|
@ -106,8 +106,7 @@ ACT_FN_GO_MOUSE(window_move, __UNUSED__)
|
||||||
if (!obj) obj = E_OBJECT(e_border_focused_get());
|
if (!obj) obj = E_OBJECT(e_border_focused_get());
|
||||||
if (!obj) return;
|
if (!obj) return;
|
||||||
if (obj->type != E_BORDER_TYPE) 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, )
|
ACT_FN_GO_SIGNAL(window_move, )
|
||||||
|
|
|
@ -3418,7 +3418,6 @@ e_border_act_move_begin(E_Border *bd,
|
||||||
{
|
{
|
||||||
E_OBJECT_CHECK(bd);
|
E_OBJECT_CHECK(bd);
|
||||||
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
|
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
|
||||||
if (bd->lock_user_location) return;
|
|
||||||
if ((bd->resize_mode != RESIZE_NONE) || (bd->moving)) return;
|
if ((bd->resize_mode != RESIZE_NONE) || (bd->moving)) return;
|
||||||
if (!_e_border_move_begin(bd))
|
if (!_e_border_move_begin(bd))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue