kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=31cb37f9353272a8ee9beac9bdb59edb720e77b2
commit 31cb37f9353272a8ee9beac9bdb59edb720e77b2 Author: Kim Woelders <[email protected]> Date: Sun Apr 3 19:06:45 2022 +0200 arrange: Remove pointless call to EwinListGetAll() --- src/arrange.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/arrange.c b/src/arrange.c index 0b1a70d0..2597a6bc 100644 --- a/src/arrange.c +++ b/src/arrange.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors - * Copyright (C) 2004-2020 Kim Woelders + * Copyright (C) 2004-2022 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -940,9 +940,9 @@ ArrangeEwins(const char *params) { const char *type; int method; - int i, nfix, nflt, num; + int i, nfix, nflt; RectBox *fixed, *ret, *floating; - EWin *const *lst, *ewin; + EWin *ewin; type = params; method = ARRANGE_BY_SIZE; @@ -961,10 +961,6 @@ ArrangeEwins(const char *params) fixed = floating = ret = NULL; - lst = EwinListGetAll(&num); - if (!lst) - goto done; - ArrangeGetRectList(&fixed, &nfix, &floating, &nflt, NULL); ret = ECALLOC(RectBox, nflt + nfix); --
