e17: allow window manipulation for any type of window maximize policy when 'allow maipulation of maximized windows' is enabled

fixing http://trac.enlightenment.org/e/ticket/430


SVN revision: 57681
This commit is contained in:
Hannes Janetzek 2011-03-10 20:58:55 +00:00
parent a513603dff
commit 3f610a161e
1 changed files with 2 additions and 5 deletions

View File

@ -2280,9 +2280,7 @@ ACT_FN_GO(pointer_resize_push, )
bd = (E_Border *)obj;
if ((bd->lock_user_size) || (bd->shaded) || (bd->shading) ||
(bd->fullscreen) ||
((bd->maximized == E_MAXIMIZE_FULLSCREEN) &&
(!e_config->allow_manip)))
(bd->fullscreen) || ((bd->maximized) && (!e_config->allow_manip)))
return;
e_pointer_type_push(bd->pointer, bd, params);
}
@ -2298,8 +2296,7 @@ ACT_FN_GO(pointer_resize_pop, )
bd = (E_Border *)obj;
if ((bd->lock_user_size) || (bd->shaded) || (bd->shading) ||
(bd->fullscreen) ||
((bd->maximized == E_MAXIMIZE_FULLSCREEN) && (!e_config->allow_manip)))
(bd->fullscreen) || ((bd->maximized) && (!e_config->allow_manip)))
return;
e_pointer_type_pop(bd->pointer, bd, params);
}