Add some safety checks. Reorder some checks inside functions (easier/faster checks first).
Add some safety checks.
Reorder some checks inside functions (easier/faster checks first).

When mode changes and we check the 'home' window count, make sure we
actually have some home windows first before trying eina_list_count on
a potentially null list.

When doing focus back/forward, make sure we have a focused border to
begin with.

Dot some i's and cross some T's ;)



SVN revision: 50896

tizenorg/platform.upstream.enlightenment,rvandegrift/e,FlorentRevest/Enlightenment,rvandegrift/e,tasn/enlightenment,tizenorg/platform.upstream.enlightenment,tasn/enlightenment,FlorentRevest/Enlightenment,FlorentRevest/Enlightenment,tizenorg/platform.upstream.enlightenment,tasn/enlightenment,rvandegrift/e